nemanteo
Forum Replies Created
-
Sorry, it was the PHP version. Once updated, the plugin activated perfectly.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] unexpected T_STRINGHi Ken,
Sorry for this misunderstanding. Actually, I’ve just realized that the problem was with the version of PHP. Server shows 5.6 but it actually was 5.2 (found out via a WP plugin). Learnpress activated without problem now.
Thanks for your support and again sorry for the confusion.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] unexpected T_STRINGHi Ken,
Thanks for the quick response. Unfortunately I didn’t have time to test it before so, this part works, but now I get another error. ??
Fatal error: Class ‘/home/englishc/public_html/test/wp-content/plugins/learnpress/inc/background-process/class-lp-background-query-items.php’ not found in /home/englishc/public_html/test/wp-content/plugins/learnpress/inc/abstracts/abstract-background-process.php on line 128
And the line in question is
self::$instances[ $name ] = new $name();
Thank you again for your help.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] unexpected T_STRINGHi Ken,
It’s been almost a month and no solution. I’ve been busy so I just updated the plugin hoping that it will fix the problem, but I still get the same error. Syntax error, unexpected T_FUNCTION on the following line:
add_action( 'init', function () { learn_press_get_current_profile_tab();
Can you please help me, I need to set this up quickly?
- This reply was modified 6 years, 5 months ago by nemanteo.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] unexpected T_STRINGHi Ken,
It’s still not working, with PHP 5.6.30.
The error is in lp-core-functions.php, on the following line:
add_action( ‘init’, function () {
learn_press_get_current_profile_tab();I’ve tried updating the user profile with some basic info, but nothing changed.
Thanks in advance for your help.