WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] ndefined property Hybrid::$settings in core.php (2 posts)

  1. RavanH
    Member
    Posted 3 years ago #

    Hi,

    I'm trying this theme on a LiteSpeed server and I am getting fatal errors (randomly, not all the time!) like :

    [23-Feb-2011 02:09:16] PHP Fatal error: Call to undefined function hybrid_get_setting() in /xxxxx/wp-content/themes/hybrid/library/classes/hybrid.php on line 100

    The files are all in place and have the correct permissions so in my mind, this should NOT be happening!

    The only thing that might be related is a Notice about just THAT function that I get when turning WP_DEBUG on:

    Notice: Undefined property: Hybrid::$settings in /xxxxx/wp-content/themes/hybrid/library/functions/core.php on line 149

    Could it be that a mere notice like that could prevent the function from being registered by the PHP engine ( some weird extremely strict rules in LiteSpeed maybe? ) causing that fatal error right after it? But not ALL the time, just sometimes?

    It seems unlikely but I'm at wits' end here...

  2. RavanH
    Member
    Posted 3 years ago #

    UPDATE: It turns out these weird errors where caused by the fact that there where two caching systems running on the Litespeed server at the same time. APC and Xcache, I think it was... Aparently, these two conflict and removing one solved the issue.

Topic Closed

This topic has been closed to new replies.

About this Topic