Help! Fatal error: Uncaught ArgumentCountError
-
I really need help. I’m new-ish at this and don’t know what to do. I’m getting this fatal error on my site.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function add_action(), 1 passed in /home/willowr0/public_html/goodwayauto.com/wp-content/themes/skt-solar-energy/functions.php on line 17 and at least 2 expected in /home/willowr0/public_html/goodwayauto.com/wp-includes/plugin.php:405 Stack trace: #0 /home/willowr0/public_html/goodwayauto.com/wp-content/themes/skt-solar-energy/functions.php(17): add_action(‘after_setup_the…’) #1 /home/willowr0/public_html/goodwayauto.com/wp-settings.php(479): include(‘/home/willowr0/…’) #2 /home/willowr0/public_html/goodwayauto.com/wp-config.php(90): require_once(‘/home/willowr0/…’) #3 /home/willowr0/public_html/goodwayauto.com/wp-load.php(37): require_once(‘/home/willowr0/…’) #4 /home/willowr0/public_html/goodwayauto.com/wp-admin/admin.php(34): require_once(‘/home/willowr0/…’) #5 /home/willowr0/public_html/goodwayauto.com/wp-admin/themes.php(10): require_once(‘/home/willowr0/…’) #6 {main} thrown in /home/willowr0/public_html/goodwayauto.com/wp-includes/plugin.php on line 405
I have looked at PhpMyAdmin to remove active plugins and there is no section for WordPress plugins. I’m having trouble accessing it with FTP and I can’t get to my wp-admin either. I was using the SKT Solar Energy theme and this all started with this error
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘custom_theme_features’ not found or invalid function name in /home/willowr0/public_html/goodwayauto.com/wp-includes/class-wp-hook.php on line 286
I installed the String Locator plugin to find the error and it crashed from there.
The page I need help with: [log in to see the link]
The topic ‘Help! Fatal error: Uncaught ArgumentCountError’ is closed to new replies.