Comments (3)
2023-08-07 13:28:47
Error: Call to undefined function array_key_last()
/data/dokuwiki/lib/plugins/simplenavi/syntax.php(120)
#0 /data/dokuwiki/lib/plugins/simplenavi/syntax.php(70): syntax_plugin_simplenavi->getSortedItems('', 1, 1, 1, 0)
#1 /data/dokuwiki/inc/parser/renderer.php(119): syntax_plugin_simplenavi->render('xhtml', Object(Doku_Renderer_xhtml), Array)
#2 /data/dokuwiki/inc/parserutils.php(700): Doku_Renderer->plugin('simplenavi', Array, 5, '{{simplenavi> s...')
#3 /data/dokuwiki/inc/parserutils.php(158): p_render('xhtml', Array, NULL)
#4 /data/dokuwiki/inc/parserutils.php(96): p_cached_output('/var/www/html/d...', 'xhtml', 'squads:paystore...')
#5 /data/dokuwiki/inc/template.php(1592): p_wiki_xhtml('squads:paystore...', '', false)
#6 /data/dokuwiki/lib/tpl/bootstrap3/tpl/sidebar.php(33): tpl_include_page('squads:paystore...', 0, 1, 1)
#7 /data/dokuwiki/lib/tpl/bootstrap3/Template.php(1383): require('/data/dokuwiki/...')
#8 /data/dokuwiki/lib/tpl/bootstrap3/Template.php(1346): dokuwiki\template\bootstrap3\Template->sidebarWrapper('sidebar', 'dokuwiki__aside', 'col-sm-3 col-md...', 'sidebarheader', 'sidebarfooter')
#9 /data/dokuwiki/lib/tpl/bootstrap3/main.php(93): dokuwiki\template\bootstrap3\Template->includeSidebar('left')
#10 /data/dokuwiki/inc/actions.php(27): include('/data/dokuwiki/...')
#11 /data/dokuwiki/doku.php(126): act_dispatch()
#12 {main}
from simplenavi.
First of all: where's the error log?
Secondly, what PHP version are you running? array_key_last was introduced in PHP 7.3
from simplenavi.
Suggestion: create a kind of warning when the upgrade of some infrastructure is needed, like PHP version.
And... great work! Thank you! I've been using Dokuwiki for more than 10 years!
from simplenavi.
Related Issues (20)
- It's possible working with sneaky_index fix plugin?
- Plugin uses option "sortByTitle" which does not exist HOT 1
- Start pages in sidebar in 2018-04-22a "Greebo" HOT 1
- Hide sidebar-page in navigation HOT 3
- Problem with ÅÄÖ in filenames
- First indentation HOT 2
- Hide entries of no read+ permission HOT 2
- Add an option to list pages before the namespaces HOT 1
- Limit navigation to namespaces HOT 1
- Is it possible to set the depth of the navigation? HOT 1
- dokuwiki as string in pagetitle HOT 1
- Expand Namespaces/Subnamespaces HOT 1
- Support for Move Plugin HOT 2
- relative namespace with startpage outside the namespace
- Last version is not compatible with previous DokuWiki releases HOT 1
- Fatal Error after updating plugin simplenavi HOT 2
- plugin spoils pages since upgrade 2023-08-03 while 2023-01-09 still works HOT 1
- TypeError: array_key_last(): Argument #1 ($array) must be of type array, null given HOT 3
- Separate "Sort by and show the title instead of the ID" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplenavi.