Tagged: x
-
AuthorPosts
-
March 28, 2016 at 4:22 pm #855644
I get this error when I activate the theme
Fatal error: Function name must be a string in /home1/loomz/public_html/ideaengine.biz/rms/wp-content/themes/x/framework/functions/global/admin/addons/modules/class-addons-home.php on line 19
I can’t go to the admin home page for the theme. Any way to solve this problem?
March 28, 2016 at 4:25 pm #855646This is the code from Line 15-20
$modules = array();
foreach ($this->script_data as $handle => $callback ) {
if ( is_callable( $callback ) ) {
$modules[$handle] = $callback();
}March 28, 2016 at 5:32 pm #855727Hey Drew,
I’m sorry you’re having this happen. What version of PHP are you running there? It could be an incompatibility with older versions of PHP. If it’s a version conflict, usually this stuff is caught in our beta testing, but it could be specific to a version that our internal team and beta group didn’t cover. We can support anything later than 5.2 though. I’ll take a closer look at that file to see if we need to update anything there.
If you’re on an older version, most hosts offer a way to use a more recent version of PHP. We recommend 5.5 or later.
March 28, 2016 at 5:35 pm #855728Hey again,
I’ve just confirmed this is an issue affecting sites on PHP 5.2 and 5.3. We don’t test these as extensively because they are end-of-life, and the PHP developers themselves don’t support them anymore. We’ll update X to prevent the error, but meanwhile we do recommend updating PHP to at least 5.5. Most hosts offer a way to choose a more recent PHP version.
-
AuthorPosts