Iris Kammerer
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] don’t work on wp 6.1I had to unistall the plugin. My website returned an error 500 and it couldn’t be accessed at all, neither frontend nor admin panel. Yet, it sent me an e-mail explaining the problem in detail.
Unfortunately it is in German, but I am sure you get the image and find the bug.I am using automatted updates. WP was updated to 6.1 lately and TTfP just about 1 hour ago.
The content of the message is as following (private path replaced by [path])
WordPress-Version 6.1
Aktives Theme: Customizr Pro (Version 2.4.23)
Aktuelles Plugin: Theme and plugin translation for Polylang (TTfP) (Version 3.2.14)
PHP-Version 8.0.20Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 342 der Datei [path]/wordpress/wp-content/plugins/theme-translation-for-/theme-translation-for-polylang.php verursacht. Fehlermeldung: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in [path]/wordpress/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php:342
Stack trace:
#0 [path]/wordpress/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php(342): in_array(‘wp-statistics’, NULL)
#1 [path/wordpress/wp-includes/class-wp-hook.php(308): tt_pll_gettext_filter(‘WP Statistics’, ‘WP Statistics’, ‘wp-statistics’)
#2 [path]/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘WP Statistics’, Array)
#3 [path]/wordpress/wp-includes/l10n.php(199): apply_filters(‘gettext’, ‘WP Statistics’, ‘WP Statistics’, ‘wp-statistics’)
#4 [path]/wordpress/wp-admin/includes/plugin.php(160): translate(‘WP Statistics’, ‘wp-statistics’)
#5 [path]/wordpress/wp-admin/includes/plugin.php(111): _get_plugin_data_markup_translate(‘wp-statistics/w…’, Array, true, true)
#6 [path]/wordpress/wp-content/plugins/wp-statistics/includes/defines.php(15): get_plugin_data(‘[path]/…’)
#7 [path]/wordpress/wp-content/plugins/wp-statistics/wp-statistics.php(17): require_once(‘[path]/…’)
#8 [path]/wordpress/wp-settings.php(447): include_once(‘[path]/…’)
#9 [path]/wordpress/wp-config.php(114): require_once(‘[path]/…’)
#10 [path]/wordpress/wp-load.php(50): require_once(‘[path]/…’)
#11 [path]/wordpress/wp-admin/admin.php(34): require_once(‘[path]/…’)
#12 [path]/wordpress/wp-admin/index.php(10): require_once(‘[path]/…’)
#13 {main}
? thrown- This reply was modified 2 years ago by Iris Kammerer.
Hi @alaneye and @mihaiimagely,
it seems that you have to deactivate ALL Jetpack features concerning media (no carroussel, no endless scroll, no Jetpack mobile theme and no retarded loading of images (I have to guess, I’m unsing the German version). Any of these caused one or another problem with the ngg galleries.
Cheers,
Iris