Skip to content

startSectionEdit errors on latest DokuWiki “Greebo” #92

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

Closed
sylvaticus opened this issue Apr 23, 2018 · 8 comments
Closed

startSectionEdit errors on latest DokuWiki “Greebo” #92

sylvaticus opened this issue Apr 23, 2018 · 8 comments

Comments

@sylvaticus
Copy link

sylvaticus commented Apr 23, 2018

Just updated DokuWiki to the latest version (“Greebo”), but blog page now shows the following errors

startSectionEdit: $data "plugin_include_start" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "plugin_include_end" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "plugin_include_editbtn" is NOT an array! One of your plugins needs an update.

Also, entering new blog items is impossible as an error Failed to handle action: preview is issue

Thank you

EDIT: The Failed to handle action: preview error has already been fixed in master.

@sylvaticus
Copy link
Author

This issue (for the Blog plugin) seems to be related to this issue (for the relevant DokuWiki documentation):

dokuwiki/dokuwiki#2290

@sylvaticus
Copy link
Author

How to implement the re-factored section edit:

https://www.dokuwiki.org/devel:section_editor

@Klap-in
Copy link
Member

Klap-in commented Apr 23, 2018

General issue: dokuwiki/dokuwiki#2290

Please see for examples how to fix a plugin:
dokufreaks/plugin-include@de79031
selfthinker/dokuwiki_plugin_wrap#162

@michitux
Copy link
Member

This should already be fixed by updating the include plugin. Note that even though no new version has been released you can just update the include plugin.

@sylvaticus
Copy link
Author

I confirm that clicking "re-install" on the include plugin solves the startSectionEdit issue (even if the installed version of the include plugin remained the same, 2017-08-24).

@asheenlevrai
Copy link

asheenlevrai commented Jun 22, 2018

I have only this message:

startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.

However I haven't installed the plugin "plugin-blog". I thought this message was caused by the plugin "editSection2". Am I wrong? How can I determine which plugin causes the message?
Tx.
-a-

@lpaulsen93
Copy link
Member

Try disabling the plugin, re-fresh the cache and page and see if you still get the message.

@lpaulsen93
Copy link
Member

There also seems to be a PR/a fix pending for editsections2 , see https://github.com/kazmiya/dokuwiki-plugin-editsections2/pull/11/files

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

No branches or pull requests

5 participants