Tagged: customizer, fatal error, widgets
-
AuthorPosts
-
March 31, 2022 at 5:52 pm #1346762
Hi,
since a few days we are not able to edit our widgets or enter the customizer. The widgets page throws a fatal error, stack trace starts with:
Fatal error: Uncaught TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given in /homepages/9/d226385426/htdocs/clickandbuilds/xxx/wp-includes/widgets.php:1510 Stack trace: #0The customizer remains empty, nothing is desplayed, so we cannot edit style sheets and more.
Any help?
April 1, 2022 at 4:51 am #1346804Hi kringsstefanie,
Can you try to temporarily disable all plugins and see if it helps? if it does, enable the plugin one by one to know which one is causing the issue.
If it does not help, please try to change the PHP version to 7.4.
Hope this helps.Best regards,
NikkoApril 2, 2022 at 1:24 pm #1346979Hi Nikko,
disabling the plugins does not help, but turning to PHP7.4 made it better, but not really good. The error and stacktrace still appear, but will be overlayed by the widgets form afterwards, so it is now possible to edit them. The stacktrace remains visible in the top haeder of the page. This still indicates, that there is an error, that should be fixed.
Best regards
AlexApril 3, 2022 at 9:15 am #1347034Hi Alex,
Thanks for the update. Could you try updating the theme to the latest version (4.9.2.1) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Best regards,
RikardApril 3, 2022 at 1:10 pm #1347049Hi Rikard,
the Theme-Update tab says “Keine Aktualisierung verfügbar. Du verwendest die letzte Version! (4.8.1)”, in English “No update available. You are using the latest version 4.8.1”. Why is this telling we were up to date, if there is a newer version?
I’ll let you know, whether the update helped. I’ll try later.Best regards
AlexApril 3, 2022 at 6:51 pm #1347071Hi,
I’m not sure to be honest with you, but it might be your security plugin which is blocking the traffic. Could you try to install and configure this plugin, to see if that works better please? https://envato.com/market-plugin/
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.