-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 5.3 fault after version 4.6 #52
Comments
Sounds like a lambda function issue. best regards, Andi |
Oh, sorry, I meant php not python .. ;-) |
Thanks! i will fix it asap. |
Please try v3.3-BETA3 (GitHub Master Branch) |
Almost there ... You need to change this: private $_codeFragments = array(); to this: public $_codeFragments = array(); Otherwise, I get this error: Fatal error: Cannot access private property Enlighter\ShortcodeFilter::$_codeFragments in /home/username/public_html/wp_name/wp-content/plugins/enlighter/class/ShortcodeFilter.php on line 88 Once I made the array public, it works great . Thanks Cris |
Thanks! I didn't test it yet because i have no php 5.3 installation anymore. btw. i will drop the PHP 5.3 support in the future. Currently most users use a modern version https://wordpress.org/about/stats/ |
My ISP has php 5.3 .. I will see if they would run the upgrade .. |
v3.3 is out |
Hello,
At some point, after I upgraded WordPress automatically, I think to 4.6, the enlighter plugin stopped working. I now get the python $this reference error below:
Fatal error: Using $this when not in object context in /home/username/public_html/wp_name/wp-content/plugins/enlighter/class/ShortcodeFilter.php on line 85
Any idea what I need to do ?
Thanks
The text was updated successfully, but these errors were encountered: