You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in some constellations I get the following errormessage:
TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given
An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the imagereference plugin.
More info has been written to the DokuWiki error log.
If I open a page with the imagereference syntax inside itself, everything is ok. But if I use the include plugin and reference to the page with the imagereference syntax I get the error message.
My workaround at the moment was to modify the file imgcaption.php from line 151 down:
// Workaround nach PHP-Update:
if ($caprefs <> NULL) {
$data['refnumber'] = array_search($data['caprefname'], $caprefs);
}
Perhaps the problem occurred after updating our server to PHP version 8.1.11 some days ago.
What can I do?
Best regards
Juergen
The text was updated successfully, but these errors were encountered:
Hi,
in some constellations I get the following errormessage:
The log file says this:
If I open a page with the imagereference syntax inside itself, everything is ok. But if I use the include plugin and reference to the page with the imagereference syntax I get the error message.
My workaround at the moment was to modify the file imgcaption.php from line 151 down:
Perhaps the problem occurred after updating our server to PHP version 8.1.11 some days ago.
What can I do?
Best regards
Juergen
The text was updated successfully, but these errors were encountered: