Skip to content
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

new subfolder shows no content starting with Hogfather #3152

Closed
tracing-home opened this issue Jun 6, 2020 · 4 comments · Fixed by #3122
Closed

new subfolder shows no content starting with Hogfather #3152

tracing-home opened this issue Jun 6, 2020 · 4 comments · Fixed by #3122
Labels

Comments

@tracing-home
Copy link

In an existing structure with subfolders, I created a new one in parallel to others that work fine. They existed before the Hogfather upgrade.

The first time entering the folder the content shows (it was copied from elsewhere via terminal), after the page reloads, no pages/entries (with acmenu) will show.

I tried creation of the folder via interface as well as terminal. Permissions and ownership are identical on all folder/files

Using Release rc2-2020-06-01 "Hogfather" RC2, all plugins are updated, searchindex manager ran delete and rebuild. Running on Linux using a farm structure

When entering the folder /brot-rezepte/banh-mi/start, it has the problem, apache error.log gets this error. Other folders preexisting to upgrade cause no error:

[Sat Jun 06 21:59:18.318683 2020] [php7:error] [pid 15524] [client ::1:32774] PHP Fatal error: Uncaught Error: Cannot access protected property Doku_Handler::$status in /var/www/dokuwiki/lib/plugins/numberedheadings/syntax.php:133\nStack trace:\n#0 /var/www/dokuwiki/inc/parser/handler.php(240): syntax_plugin_numberedheadings->handle('=== - Mixing ==...', 5, 3202, Object(Doku_Handler))\n#1 /var/www/dokuwiki/inc/Parsing/Lexer/Lexer.php(278): Doku_Handler->plugin('=== - Mixing ==...', 5, 3202, 'numberedheading...')\n#2 /var/www/dokuwiki/inc/Parsing/Lexer/Lexer.php(205): dokuwiki\\Parsing\\Lexer\\Lexer->invokeHandler('=== - Mixing ==...', 5, 3202)\n#3 /var/www/dokuwiki/inc/Parsing/Lexer/Lexer.php(155): dokuwiki\\Parsing\\Lexer\\Lexer->dispatchTokens('', '=== - Mixing ==...', '_plugin_numbere...', 3202, 3202)\n#4 /var/www/dokuwiki/inc/Parsing/Parser.php(109): dokuwiki\\Parsing\\Lexer\\Lexer->parse('\\n\\nMix bread flo...')\n#5 /var/www/dokuwiki/inc/parserutils.php(216): dokuwiki\\Parsing\\Parser->parse('\\n====== Banh mi...')\n#6 /var/www/dokuwiki/inc/parserutils.php(181): p_get_instructions('====== Banh mi ...')\n#7 /var/www/dok in /var/www/dokuwiki/lib/plugins/numberedheadings/syntax.php on line 133, referer: http://kochen.localhost/brot-rezepte/start

@phy25
Copy link
Collaborator

phy25 commented Jun 7, 2020

Could you disable numberedheadings and see if it works? If yes, it's a duplicate of ssahara/dw-plugin-NumberedHeadings#13. Please add more information there.

@phy25 phy25 added the upstream label Jun 7, 2020
@tracing-home
Copy link
Author

tracing-home commented Jun 7, 2020 via email

@phy25
Copy link
Collaborator

phy25 commented Jun 7, 2020

Sorry, I should have mentioned that you need to move numberedheadings out of plugin folder. Not sure how disabling a plugin works, but looks like the second error log you paste still loads numberedheadings.

@tracing-home
Copy link
Author

tracing-home commented Jun 7, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants