-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot declare class dokuwiki\Menu\Item\AbstractItem #545
Comments
Hi, please check in doku.php the variable The compat library are loaded for DokuWiki version older than Grebo. Joseph |
$updateVersion = "51.3"; |
I can confirm I am having the exact same problem.
I can also confirm
PHP 7.2.24, otherwise identical |
I did some initial digging on this just to see if I could see anything obvious.
This results in the following log messages when going to edit a page, and subsquently clicking on the "Add image or other files" button
So something is causing the variable to not be set seemingly only when trying to call media manager from the edit dialogue via the button. Accessing the media manager by other means yields no errors. |
Same error here, did some manage to fix it? |
In my case, when I installed "Stale plugin", the corresponding error occurred. I solved the problem by deleting it. please use file content search to find php files that use the "AbstractMenu" class and find the cause. :-) |
Fixed it for me, too. Thanks! |
Good for you! You're welcome. Have a nice day! |
Description
Cannot declare class dokuwiki\Menu\Item\AbstractItem
Steps to reproduce
Versions
Screenshots or Logs
[05-Aug-2021 11:36:43 Europe/Samara] PHP Fatal error: Cannot declare class dokuwiki\Menu\Item\AbstractItem, because the name is already in use in /usr/local/www/dokuwiki/lib/tpl/bootstrap3/compat/inc/Menu/Item/AbstractItem.php on line 20
The text was updated successfully, but these errors were encountered: