Hiya all,
I am having some issues with the addnewpage plugin. In particular, with the autopage
flag.
The expected behaviour of {{NEWPAGE>journal:%Y-%m-%d?autopage}}
should be, based on documentation, a button to create a new page, hiding the input boxes to select namespaces and pagename.
In my case, however, I get the exact same results as when using the more basic {{NEWPAGE}}
. The only difference is that the namespace selector shows journal:%Y-%m-%d?autopage
.
I am running php 8.1. And 2024-02-06 "Kaos" version.
Just in case, i paste the only warning in the log:
Cheers guys!
E_WARNING: Trying to access array offset on value of type null/home/user/domain.com/lib/plugins/semantic/helper.php(208)
#0 /home/user/domain.com/lib/plugins/semantic/helper.php(208): dokuwiki\ErrorHandler::errorHandler(2, 'Trying to acces...', '/home/user/j...', 208)
#1 /home/user/domain.com/lib/plugins/semantic/helper.php(298): helper_plugin_semantic->getStructuredData()
#2 /home/user/domain.com/lib/plugins/semantic/action.php(143): helper_plugin_semantic->getJsonLD()
#3 /home/user/domain.com/inc/Extension/EventHandler.php(80): action_plugin_semantic->json_ld(Object(dokuwiki\Extension\Event), NULL)
#4 /home/user/domain.com/inc/Extension/Event.php(75): dokuwiki\Extension\EventHandler->process_event(Object(dokuwiki\Extension\Event), 'BEFORE')
#5 /home/user/domain.com/inc/Extension/Event.php(133): dokuwiki\Extension\Event->advise_before(true)
#6 /home/user/domain.com/inc/Extension/Event.php(200): dokuwiki\Extension\Event->trigger('_tpl_metaheader...', true)
#7 /home/user/domain.com/inc/template.php(400): dokuwiki\Extension\Event::createAndTrigger('TPL_METAHEADER_...', Array, '_tpl_metaheader...', true)
#8 /home/user/domain.com/lib/tpl/bootstrap3/main.php(32): tpl_metaheaders()
#9 /home/user/domain.com/inc/actions.php(30): include('/home//j...')
#10 /home/user/domain.com/doku.php(131): act_dispatch()
#11 {main}