lpaulsen93 / dokuwiki-plugin-odt

Exports a page to the Open Document format used by OpenOffice.org and other word processors
http://www.dokuwiki.org/plugin:odt
13 stars 26 forks source link

[ERROR] E_WARNING: Trying to access array offset on value of type null #316

Closed dexter74 closed 4 months ago

dexter74 commented 7 months ago

Hello,

Can your fix problem.

Release

2023-04-04a "Jack Jackrum"

Log

cat ./dokuwiki/data/log/error/2024-02-27.log
2024-02-27 16:58:09     /srv/dokuwiki/lib/plugins/move/action/rename.php(42)    E_WARNING: Trying to access array offset on value of type null
  #0 /srv/dokuwiki/lib/plugins/move/action/rename.php(42): dokuwiki\ErrorHandler::errorHandler()
  #1 /srv/dokuwiki/inc/Extension/EventHandler.php(80): action_plugin_move_rename->handle_init()
  #2 /srv/dokuwiki/inc/Extension/Event.php(96): dokuwiki\Extension\EventHandler->process_event()
  #3 /srv/dokuwiki/inc/Extension/Event.php(136): dokuwiki\Extension\Event->advise_after()
  #4 /srv/dokuwiki/inc/Extension/Event.php(199): dokuwiki\Extension\Event->trigger()
  #5 /srv/dokuwiki/doku.php(120): dokuwiki\Extension\Event::createAndTrigger()
  #6 {main}
dexter74 commented 6 months ago

    /*  set JavaScript info if renaming of current page is possible  */
    public function handle_init() {
        global $JSINFO;
        global $INFO;
        global $INPUT;

    /* AJOUT */
        global $USERINFO;

        $JSINFO['move_renameokay'] = $this->renameOkay($INFO['id']);
        $JSINFO['move_allowrename'] = auth_isMember($this->getConf('allowrename'), $INPUT->server->str('REMOTE_USER'), (array) SERINFO['grps']);
    }
dexter74 commented 6 months ago

https://github.com/michitux/dokuwiki-plugin-move/issues/256

eduardomozart commented 4 months ago

This Issue doesn't seem to be related to this plug-in. Please close it. @Klap-in can you close it?