Hi guys,
After updating the plugin, I got some errors on my site. I am not sure if they are theme related or from the plugin.
Does anyone have this problem or it's only on my side?
Error Details
=============
An error of type E_ERROR was caused in line 30 of the file /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/MessageTexts.php. Error message: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class OTGS\Installer\AdminNotices\Notices\WPMLTexts does not have a method "notRegistered" in /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/MessageTexts.php:30
Stack trace:
#0 /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/MessageTexts.php(30): call_user_func('OTGS\\Installer\\...', 'not-registered')
#1 /home/XXX/XXX/XXX/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/Display.php(86): OTGS\Installer\AdminNotices\MessageTexts->get('wpml', 'not-registered', 'not-registered')
#2 /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/Display.php(61): OTGS\Installer\AdminNotices\Display->displayNotice('wpml', 'not-registered', 'not-registered')
#3 /home/XXX/XXX/wp-includes/class-wp-hook.php(308): OTGS\Installer\AdminNotices\Display->addNotices('')
#4 /home/XXX/XXX/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#5 /home/XXX/XXX/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/XXX/XXXk/wp-admin/admin-header.php(303): do_action('admin_notices')
#7 /home/XXX/XXX/wp-admin/admin.php(287): require_once('/home/XXX/...')
#8 {main}
thrown
Thanks!
After updating the plugin, I got some errors on my site. I am not sure if they are theme related or from the plugin.
Does anyone have this problem or it's only on my side?
Error Details
=============
An error of type E_ERROR was caused in line 30 of the file /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/MessageTexts.php. Error message: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class OTGS\Installer\AdminNotices\Notices\WPMLTexts does not have a method "notRegistered" in /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/MessageTexts.php:30
Stack trace:
#0 /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/MessageTexts.php(30): call_user_func('OTGS\\Installer\\...', 'not-registered')
#1 /home/XXX/XXX/XXX/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/Display.php(86): OTGS\Installer\AdminNotices\MessageTexts->get('wpml', 'not-registered', 'not-registered')
#2 /home/XXX/XXX/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/admin-notices/Display.php(61): OTGS\Installer\AdminNotices\Display->displayNotice('wpml', 'not-registered', 'not-registered')
#3 /home/XXX/XXX/wp-includes/class-wp-hook.php(308): OTGS\Installer\AdminNotices\Display->addNotices('')
#4 /home/XXX/XXX/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#5 /home/XXX/XXX/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/XXX/XXXk/wp-admin/admin-header.php(303): do_action('admin_notices')
#7 /home/XXX/XXX/wp-admin/admin.php(287): require_once('/home/XXX/...')
#8 {main}
thrown
Thanks!