WordPress主题管理面板显示本地服务器中的致命错误 [英] Wordpress Theme admin panel showing fatal error in local server

查看:85
本文介绍了WordPress主题管理面板显示本地服务器中的致命错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WordPress中有一个项目.
在这里,我们使用主题jupiter.当我在本地XAMPP服务器上进行设置时,其主题选项不起作用.
问题出在我的PC上,但是可以在另一台PC上运行.
我的 XAMPP是最新版本.

I have a project in WordPress.
Here we use theme jupiter. When I set up it on my local XAMPP server, its theme option is not working.
This problem is with my PC, but it working on another PC.
My XAMPP is latest version.

显示的错误:

Fatal error: Uncaught Error: Function name must be a string in D:\xampp\htdocs\devatom\wp-content\themes\jupiter\framework\admin\generators\option-generator.php:80 Stack trace: #0 D:\xampp\htdocs\devatom\wp-content\themes\jupiter\framework\admin\generators\option-generator.php(9): mkOptionGenerator->render() #1 D:\xampp\htdocs\devatom\wp-content\themes\jupiter\functions.php(260): mkOptionGenerator->__construct('Jupiter_options', Array) #2 D:\xampp\htdocs\devatom\wp-includes\plugin.php(503): Theme->_load_option_page('') #3 D:\xampp\htdocs\devatom\wp-admin\admin.php(236): do_action('toplevel_page_m...') #4 {main} thrown in D:\xampp\htdocs\devatom\wp-content\themes\jupiter\framework\admin\generators\option-generator.php on line 80

在此先感谢.

推荐答案

我解决了这个问题.我发现在文件中将array用作function name

I solved this problem. i found that an array is used as function name in the file

这篇关于WordPress主题管理面板显示本地服务器中的致命错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆