webworks
Member
Posted 2 years ago #
Hello,
We can't seem to eliminate this error in the Mystique Theme by digitalnature.
Fatal error: Undefined class name 'self' in /home/optimiza/public_html/wp-content/themes/mystique/lib/widgets.php on line 377
URL
I read about a problem with the keyword 'self' on a different, plugin issue, which was resolved when the programmer made it compatible with both PHP 4 and 5. Could this be the issue with Mystique? If so, how can I correct it?
Thanks in advance for your response,
Heather
Edit widgets.php, find self:: and replace it with $this->
This should make it work on PHP 4.
btw I remember answering to the email you sent me about the same issue...
webworks
Member
Posted 2 years ago #
Hi digitalnature, thank you for your response! You must be thinking of someone else, because I have no idea what your email address is :)
Oh, client will be very happy about this. I will try it!
Thanks again,
Heather Mc
webworks
Member
Posted 2 years ago #
It worked - many many thanks!