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.
The error it showing :
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
Thanks in Advance.
I solved this problem. i found that an
array
is used asfunction name
in the fileOpen file jupiter\framework\admin\generators\option-generator.php on line 80
Find below code
and replace with
Your issue will resolve . thanks