Tagged: Error Message, update
-
AuthorPosts
-
August 11, 2016 at 12:03 pm #671259
Hi guys,
After updating WP, theme and plugins this morning I get an error message (in the footer) of my website:
Notice: Use of undefined constant ICL_LANGUAGE_NAME_EN – assumed ‘ICL_LANGUAGE_NAME_EN’ in /var/www/vhosts/………./wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 73.
How can I solve this?
Thanks & regards,
MoniqueAugust 12, 2016 at 5:49 am #671680Hey Monique,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply. You could try deactivating all plugins to see if it’s coming from one of them.
Thanks,
RikardAugust 12, 2016 at 9:39 am #671772Hey Rikard,
See below.
After posting this topic I continued a little search myself and think it may have to do with Polylang plugin. In the support forum for Polylang I found following message Could this maybe have to do with the error message I see?
Thanks for your help,
MoniqueAugust 14, 2016 at 1:15 pm #672361Hi,
It has something to do with languages it seems so it might be related, could you try deactivating the plugin to see if it goes away?
Best regards,
RikardAugust 15, 2016 at 10:16 am #672583Hi Rikard,
When I deactivate the Polylang plugin, the error message disappears.
However, the error message refers to an Enfold file (wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 73).What to do?
Thanks & regards,
MoniqueAugust 17, 2016 at 9:07 am #673568Hi,
Yes, this is related to the polylang plugin. Please try this in the functions.php file to remove the error.
$plang = pll_current_language('name'); define ('ICL_LANGUAGE_NAME_EN', $plang);Best regards,
IsmaelAugust 17, 2016 at 9:19 am #673575Hi Ismael,
Great, that solves the problem!
You can flag this topic as closed.
Thanks & have a nice day,
Monique -
AuthorPosts
- The topic ‘Error message after update’ is closed to new replies.
