WordPress.org

Support

Support » Themes and Templates » [Resolved] Mystique Fatal error: Undefined class name ‘self’

[Resolved] Mystique Fatal error: Undefined class name ‘self’

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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…

    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

    It worked – many many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Mystique Fatal error: Undefined class name ‘self’’ is closed to new replies.
Skip to toolbar