This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Bobby 1 year ago.

Assigned support staff: Bobby.

Author Posts
October 12, 2018 at 11:02 am #2811718

alinep-2

Hi,
I Just updated WPML translation management to 2.6.7 version and when I activate the plugin I've got a white sreen with this error message : Fatal error: Cannot use object of type WP_Error as array in /htdocs/wp-content/plugins/wpml-translation-management/classes/translation-priorities/class-wpml-tm-translation-priorities.php on line 92
And I can no longer access to my wp-admin panel, I solved the problem by desactivating the plugin in FTP but I don't know how to use it without issue.
Can you help me ?

October 13, 2018 at 7:39 pm #2814411

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

if possible please upgrade your PHP version to 5.6 or higher along with Mysql Version to 5.6+

=> https://wpml.org/home/minimum-requirements/

note: PHP 3 is required as a minimum requirement but we strongly recommend using PHP 5.6 when such issues arise.

let me know your results please along with a copy of your error log.

You can see how to enable debug logging here:
https://wpml.org/documentation/support/debugging-wpml/

Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

This will create an error_log.txt file in your site's root directory.

The topic ‘[Closed] Fatal error: Cannot use object of type WP_Error as array in /htdocs/wp-content/p’ is closed to new replies.