Hi @jpc101,
Hmm, it seems that the issue is indeed related to PHP 5.4 and older.
I have forwarded this to our developers and they will look into this as soon as possible.
Thanks for reporting this in! 🙂
Best regards,
Predrag
Thanks Predag 🙂
Is there any ‘auto updating’ built into CoursePress as well? The last few days, even after I’ve put 2.0.7 back, when the built in wp_update_plugins cron, the plugin looks to have been auto updated and so crashed the site.
I’ve disabled WP Crons and it didn’t update today! I’ve never had plugins auto update via the default update plugin cron before…
Hello @jpc101,
No, CoursePress does not have any functions for auto-updating. Do you manage your sites in services like WPManage? Maybe that is reason that plugins is updating on your site.
kind regards,
Kasia
Hi Kasia (my mandolin is called Kaisa!!!).
The 2.1.0.1 update was working until I logged out and then it all went wonky again! There’s this error message now:
PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in …serverstuff/public_html/wp-content/plugins/coursepress/2.0/include/coursepress/view/front/class-student.php on line 6
So I’m currently putting 2.0.7 back again…!!!
I’m guessing that:
add_action(‘coursepress_after_settings_username’, array(CoursePress_Helper_UI::class, ‘password_strength_meter’));
needs to be:
add_action(‘coursepress_after_signup_email’, array( ‘CoursePress_Helper_UI’, ‘password_strength_meter’));
But I’ll let the devs push out a proper fix…
Thanks for clarifying the updating issue. I thought it was unlikely to be CP doing the update. Very strange, I’ve never known plugins update themselves like it was doing. I’ll check with the host and see if they’ve got any strange force update thing configured in their cloudserver set-up…
Best wishes,
James
-
This reply was modified 8 years, 10 months ago by
jpcdesign.
Hello James,
I’m sorry for not checking your last message earlier! I send message to developer and she will check that.
I will get back to you when I will have more info about that
kind regards,
Kasia