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.
Tagged: Install and update
Related documentation:
This topic contains 101 replies, has 39 voices.
Last updated by George Botsev 2 years, 7 months ago.
Assigned support staff: George Botsev.
Author | Posts |
---|---|
June 7, 2018 at 11:24 am #2394625 | |
George Botsev Supporter
Languages: English (English ) Timezone: Europe/Sofia (GMT+02:00) |
Hello We have seen a few reports of a fatal error after an update of WPML plugin. Fatal error: Method WPML_Admin_Menu_Item::__toString() must return a string value You can find a fix in our errata page here: https://wpml.org/errata/fatal-error-upgrading-wpml-method-wpml_admin_menu_item__tostring-must-return-a-string-value/ If you have the same issue, no need to open a new support ticket, you are welcome to register for this ticket and I will keep you updated as soon as we have any news. Thanks! |
June 7, 2018 at 11:38 am #2394863 | |
peterK-11 |
My error message after latest update says what you can see in the attached screenshot. |
June 7, 2018 at 11:43 am #2394955 | |
George Botsev Supporter
Languages: English (English ) Timezone: Europe/Sofia (GMT+02:00) |
@peterk-11 Please try with the latest update (released less than a hour) of WPML 4.0.1 and WPML Media 2.3.1. |
June 7, 2018 at 11:44 am #2394976 | |
peterK-11 |
George, my problem is that I cannot access the wp-admin page since all I get is the fatal error message. Is there some other way? |
June 7, 2018 at 11:46 am #2394997 | |
George Botsev Supporter
Languages: English (English ) Timezone: Europe/Sofia (GMT+02:00) |
I am sorry for the problem that you are encountering. If you cannot access the admin page, I recommend that you either use your hosting panel file manager and remove or rename the media translation plugin or do that via FTP. |
June 7, 2018 at 11:54 am #2395192 | |
peterK-11 |
It works now. Thank you for your help George! |
June 7, 2018 at 12:00 pm #2395295 | |
George Botsev Supporter
Languages: English (English ) Timezone: Europe/Sofia (GMT+02:00) |
Glad to hear that it works! |
June 7, 2018 at 12:32 pm #2395866 | |
George Botsev Supporter
Languages: English (English ) Timezone: Europe/Sofia (GMT+02:00) |
Okay as promissed here is the errata page for this issue that we have found: https://wpml.org/errata/fatal-error-upgrading-wpml-method-wpml_admin_menu_item__tostring-must-return-a-string-value/ |
June 7, 2018 at 12:53 pm #2396250 | |
Veerle Delporte |
Hi, I haven't received an error message after updating the plugin, however the 'properties' admin page of RealHomes has comletely disappeared. Would your code fix this? |
June 7, 2018 at 12:54 pm #2396255 | |
kurtP |
Fatal error: Class 'WPML_Privacy_Content' not found in /web/htdocs/www.pareggerpartner.com/home/wp-content/plugins/wpml-media-translation/classes/privacy/class-wpml-media-privacy-content.php on line 6 Big problem: i can't access the wp admin page or dashbord anymore - i'm needing urgently support with helpful easy solutions. Many Thanks Kurti |
June 7, 2018 at 12:57 pm #2396266 | |
valerieK-3 |
Hello, I couldn't update all plugins only WPML Multilingual CMS. WPML String Translation, WPML Media and so on shows a failure. I can reach the backend. But after updating WPML Multilingual CMS I can't put any product in to the cart. Update: I have deactivated all WPML Plugins and the cart is working like before. |
June 7, 2018 at 1:12 pm #2396353 | |
George Botsev Supporter
Languages: English (English ) Timezone: Europe/Sofia (GMT+02:00) |
@veerle Delporte I suggest that you enable debugging in WordPress and open a new ticket as this could be a compatibility issue. // Turn debugging on define('WP_DEBUG', true); // Tell WordPress to log everything to /wp-content/debug.log define('WP_DEBUG_LOG', true); // Turn off the display of error messages on your site define('WP_DEBUG_DISPLAY', false); // For good measure, you can also add the follow code, which will hide errors from being displayed on-screen @ini_set('display_errors', 0); @kurtp If you cannot access the dashboard, you can either use your hosting panel file manager or FTP and go to /wp-content/plugins/ and either rename or delete the wpml-media-translation plugin. This will not make you lose any information and once it is done - you can re-install the latest version that has a fix for this. @valeriek-3 You might be having a separate compatibility issue. |
June 7, 2018 at 1:19 pm #2396368 | |
valerieK-3 |
Hello George Botsev, |
June 7, 2018 at 2:06 pm #2396628 | |
George Botsev Supporter
Languages: English (English ) Timezone: Europe/Sofia (GMT+02:00) |
Please follow my suggestions @valeriek-3 |
June 7, 2018 at 2:23 pm #2396694 | |
Joeri |
Same problem here, site not showing (front-end) WordPress is working but tried installing new versions, same result. Also not possible to update database (icon keeps spinning). Any suggestions? Thanks |