WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Mystique Fatal error: Undefined class name 'self' (4 posts)

  1. webworks
    Member
    Posted 4 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

  2. digitalnature
    Member
    Posted 4 years ago #

    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...

  3. webworks
    Member
    Posted 4 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

  4. webworks
    Member
    Posted 4 years ago #

    It worked - many many thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags