Hello wpdev999,
What PHP version do you have on your server?
I need to consult this with developer because I can see we had similar issue in past, but for different file and I’m not sure at the moment if provided fix would also work for you.
kind regards,
Kasia
This site is running PHP 5.6.27.
Hello @wpdev999, I hope you are doing well
Please download the file :
https://ufile.io/c99261
And replace it with the one located in this path:
coursepress/2.0/include/coursepress/helper/class-utility.php
This should fix the issue. Also, make sure that you will keep the original class-utility.php file, just in case if something goes wrong, you can place it back.
Let me know how it goes!
Cheers,
Nastia
This seems to have fixed the mcrypt error, but now everytime I click Next on a unit it doesn’t do anything. The screen dims but nothing happens.
Since replacing this file with the one provided we now get “Fatal error: Using $this when not in object context in” referencing the class-utility.php file on line 487.
Hello wpdev999,
Thank you for additional information. I’m passing this to developer so they can provide a better fix for this issue.
kind regards,
Kasia
Hello wpdev999,
I got more info – this will be fixed in next version. Can you now replace new file class-utility.php with old file and as workaround in wp-config.php find line
define('NONCE_KEY', 'put your unique phrase here');
and where there is “put your unique phrase here” insert key that is more than 24 characters. It is possible that you already have key inserted there – then just increase the length of it above the 24 characters.
Let me know if this works for you.
kind regards,
Kasia
Going back to the old file and changing the key seems to work so far, but more testing will be required.
Thank you for the update. Let us know if you run into any problem.