PHP Warning: Use of undefined constant ICL_LANGUAGE_CODE
-
Hello.
I need help. First when I installed LP I had a problem, the wizard setup didnt work.
I skiped it, and created a new course.
An error appeared: profile and checkout pages missed.I was able to fix this problem desactivating polylang plugin.
I was able to create a course, bloqs… but when I add lessons, quizes…. the adding moment is thinking and never stops. Clicking on update button they appear.
But when I try to create an exam andd a question, there is a problem, Im not able to click on the kind of quiestion (true false, multiple choice….).
Checking logs, The following errors appear:
PHP Warning: Use of undefined constant ICL_LANGUAGE_CODE – assumed ‘ICL_LANGUAGE_CODE’ (this will throw an Error in a future version of PHP) in /home2/thewinne/public_html/wp-content/plugins/learnpress/inc/lp-core-functions.php on line 664
PHP Warning: Illegal string offset ‘id’ in /home2/thewinne/public_html/wp-content/plugins/learnpress/inc/admin/class-lp-post-type-actions.php on line 149I have created a new subdomain: academia.thewinnertamvss.com
In ne subdomain, I made a new installation, deleted all plugins, pages and so. All clear.
I created a new course, and same issue. Same error.I don′t know what to do
I tried with php 5.6 / php 7.2
I tried generatepress theme, twenty twenty, twenty sixteen….
Always the same.I need you support. My hostin is not able to help me anymore with this issue
Thanks in advance
JoseThe page I need help with: [log in to see the link]
- The topic ‘PHP Warning: Use of undefined constant ICL_LANGUAGE_CODE’ is closed to new replies.