-
IdeasEV
Hello,
WordPress detected an error with the plugin, Popup Maker, and I had to disable it. That plugin has not had any updates for 3 months but I did recently update Generatepress. I think it may be a compatibility error. What do you think?
Error details:
Se ha producido un error del tipo E_ERROR en la línea 133 del archivo /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/I10n.php. Mensaje de error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/I10n.php:133
Stack trace:
#0 /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/I10n.php(133): array_keys()
#1 /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/I10n.php(81): PUM_Utils_I10n::map_locale()
#2 /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/Alerts.php(81): PUM_Utils_I10n::get_non_en_accepted_wp_locales_from_header()
#3 /srv/www/dominio.org/www/wp-includes/class-wp-hook.php(324): PUM_Utils_Alerts::translation_request()
#4 /srv/www/dominio.org/www/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#5 /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/Alerts.php(588): apply_filters()
#6 /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/Alerts.php(37): PUM_Utils_Alerts::get_alerts()
#7 /srv/www/dominio.org/www/wp-content/plugins/popup-maker/classes/Utils/Alerts.php(45): PUM_Utils_Alerts::alert_count()
#8 /srv/www/dominio.org/www/wp-includes/class-wp-hook.php(324): PUM_Utils_Alerts::append_alert_count()
#9 /srv/www/dominio.org/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /srv/www/dominio.org/www/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /srv/www/dominio.org/www/wp-admin/includes/menu.php(161): do_action()
#12 /srv/www/dominio.org/www/wp-admin/menu.php(417): require_once(‘…’)
#13 /srv/www/dominio.org/www/wp-admin/admin.php(158): require(‘…’)
#14 /srv/www/dominio.org/www/wp-admin/post.php(12): require_once(‘…’)
#15 {main}
thrown -
Hi there,
GeneratePress doesn’t intergrate with any 3rd party plugins or change core function behaviour, so unless soem 3rd party customization has been made then theres no way GP could be the cause here.
If you look at the error:
Mensaje de error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in
It points to this line of their Internationalisation ( I10n.php ) file:
So it seems the
available_locales();
is not returning an array as 133 expected.Speak to the Plugin developers to see if they can pinpoint the conflict.
-
IdeasEV
OK. Thank you so much
Sorry for the disturbances -
Not a problem. Let us know how you get on!
- You must be logged in to reply to this topic.