Comments (3)
I desperately need to either disable the template or acmenu plugin
If you have access to /lib/plugins
, you can manually remove the AcMenu' s folder or clear the cookies associated with AcMenu plugin (in Firefox: right-click and select "Inspect Accessibility Properties", select tab "Storage" > "Cookies" and delete (right click on) the cookies "plugin_acmenu_open_items".)
null array error at line 390 in AcMenu code
I'll try to reproduce this issue with that template.
from acmenu.
I'm also affected by that issue, first in line 390, then in line 405. I'm using the sprintdoc template too:
2023-10-30 10:31:54 E_WARNING: in_array() expects parameter 2 to be array, null given /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(390) #0 [internal function]: dokuwiki\ErrorHandler::errorHandler() #1 /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(390): in_array() #2 /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(410): syntax_plugin_acmenu->_print() #3 /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(151): syntax_plugin_acmenu->_print() #4 /var/www/html/dokuwiki/inc/parser/renderer.php(119): syntax_plugin_acmenu->render() #5 /var/www/html/dokuwiki/inc/parserutils.php(700): Doku_Renderer->plugin() #6 /var/www/html/dokuwiki/inc/parserutils.php(158): p_render() #7 /var/www/html/dokuwiki/inc/parserutils.php(96): p_cached_output() #8 /var/www/html/dokuwiki/inc/template.php(1592): p_wiki_xhtml() #9 /var/www/html/dokuwiki/lib/tpl/sprintdoc/Template.php(148): tpl_include_page() #10 /var/www/html/dokuwiki/lib/tpl/sprintdoc/tpl/main-sidebar-nav.php(2): dokuwiki\template\sprintdoc\Template->getNavigation() #11 /var/www/html/dokuwiki/lib/tpl/sprintdoc/main.php(238): include('/var/www/html/d...') #12 /var/www/html/dokuwiki/inc/actions.php(27): include('/var/www/html/d...') #13 /var/www/html/dokuwiki/doku.php(126): act_dispatch() #14 {main} 2023-10-30 10:31:54
E_WARNING: in_array() expects parameter 2 to be array, null given /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(405) #0 [internal function]: dokuwiki\ErrorHandler::errorHandler() #1 /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(405): in_array() #2 /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(410): syntax_plugin_acmenu->_print() #3 /var/www/html/dokuwiki/lib/plugins/acmenu/syntax.php(151): syntax_plugin_acmenu->_print() #4 /var/www/html/dokuwiki/inc/parser/renderer.php(119): syntax_plugin_acmenu->render() #5 /var/www/html/dokuwiki/inc/parserutils.php(700): Doku_Renderer->plugin() #6 /var/www/html/dokuwiki/inc/parserutils.php(158): p_render() #7 /var/www/html/dokuwiki/inc/parserutils.php(96): p_cached_output() #8 /var/www/html/dokuwiki/inc/template.php(1592): p_wiki_xhtml() #9 /var/www/html/dokuwiki/lib/tpl/sprintdoc/Template.php(148): tpl_include_page() #10 /var/www/html/dokuwiki/lib/tpl/sprintdoc/tpl/main-sidebar-nav.php(2): dokuwiki\template\sprintdoc\Template->getNavigation() #11 /var/www/html/dokuwiki/lib/tpl/sprintdoc/main.php(238): include('/var/www/html/d...') #12 /var/www/html/dokuwiki/inc/actions.php(27): include('/var/www/html/d...') #13 /var/www/html/dokuwiki/doku.php(126): act_dispatch() #14 {main}
from acmenu.
Addition: The Problem only occurs for normal users, not administrators.
from acmenu.
Related Issues (17)
- Namespace called 0 is removed from menu and caueses error
- Page called 0 points to its parent
- Can't open category pages including start page HOT 2
- AcMenu Not Using PageName in visible part of URL HOT 2
- How to exclude namespaces HOT 2
- menu images unavailable
- Incompatibility with recent versions of the bootstrap3 template HOT 7
- Some pages not appearing in sidebar HOT 1
- Doesnโt load page title accordion correctly HOT 1
- Warning: Trying to access array offset on value of type null HOT 3
- Fails to render if $conf["start"] is empty HOT 2
- Trying to access undefined cookie array
- jQuery is not defined at the very first load
- Configuration Manager HOT 1
- How to unnest from Top Level? HOT 1
- Add support for H1 title replacement HOT 1
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 acmenu.