Community Forums › Forums › Archived Forums › General Discussion › stuck with broken website: call_user_func_array() expects parameter 1 to be a va
- This topic has 4 replies, 4 voices, and was last updated 6 years, 8 months ago by Victor Font.
-
AuthorPosts
-
July 28, 2017 at 1:03 am #209655wmmygMember
I just installed Genesis and genesis sample theme on by girlfriend's website and it is completely broken:
Instead of home page I get: http://tomokohealing.com
Fatal error: Call to undefined function wp_script_add_data() in /home1/willdo/public_html/tomokohealing.com/wp-content/themes/genesis/lib/classes/class-genesis-script-loader.php on line 120
- I cannot change back to any other theme as I keep getting errors instead of WordPress theme admin page.
http://tomokohealing.com/wp-admin/themes.php
Warning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in /home1/willdo/public_html/tomokohealing.com/wp-includes/plugin.php on line 213
Fatal error: Call to undefined function add_term_meta() in /home1/willdo/public_html/tomokohealing.com/wp-content/themes/genesis/lib/functions/upgrade.php on line 214
I can't disable plugins, to see if its a plugin problem as I get similar errors if I go to plugins page.
http://tomokohealing.com/wp-admin/plugins.phpWarning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in /home1/willdo/public_html/tomokohealing.com/wp-includes/plugin.php on line 213
Fatal error: Call to undefined function add_term_meta() in /home1/willdo/public_html/tomokohealing.com/wp-content/themes/genesis/lib/functions/upgrade.php on line 214
I tried checking the version of WordPress, At first it told me version is most recent, but when I went back to double check I get errors now there too.
call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in /home1/willdo/public_html/tomokohealing.com/wp-includes/plugin.php on line 213
I will look around the web for answers. but anyone now of quick fix so at least the site is live and back to its old Atahualpa theme theme - or any theme for that matter.
http://tomokohealing.comJuly 28, 2017 at 1:58 am #209656wmmygMemberI found a quick fix to my problem:
http://www.inmotionhosting.com/support/edu/wordpress/change-theme-in-db
I went into cpanel on my hosting services and used PHPMyAdmin to change the name of theme and stylesheet set up in the actual database used by wordpress as described above. I set both of them to twentythirteen.
Part of the trick is finding the database which is for any specific wordpress installation. You find which database is for which wordpress site by looking at the values in the wp_options database table. The first item, siteurl will show you the url (assuming you have set it in the Settings in WordPress).
The site works again and I can make change in admin. BTW, the site does indeed have the latest WordPress so that was not the problem.
"WordPress Updates
Last checked on July 28, 2017 at 1:47 am. Check Again
You have the latest version of WordPress.Learn more about WordPress 4.1.3."
Not sure what to do about Genesis itself as yet as this obviously does not fix the whatever broke the site (and the admin area) when I made the switch.
Regards,
William
July 30, 2017 at 11:38 am #209729Andrea RennickMemberUpgrade WordPress.
You're on WordPress 4.1.3.
The latest is 4.8, that's why Genesis had errors - it's coded to work with the latest version of WordPress.
**forum signature**
If you need technical support for your theme please file a ticket.The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.
August 1, 2017 at 1:42 pm #209851UkeruppMemberI am having this same issue right now.
How do I update my WP if I can't get to my dashboard?August 1, 2017 at 3:13 pm #209853Victor FontModeratorDownload WordPress from WordPress.org and FTP the files up to your site.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet? -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.