Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter kay00000

    (@kay00000)

    Hi, thanks for the response.

    I’ve tried everything you’ve suggested except the htaccess one. I don’t have a .htaccess file even when I viewed all hidden files (I’m using WinSCP). I created one from a sample I found online but it doesn’t work.

    Just an update, the restore I tried yesterday has brought the site back to the fatal error screen from before. The changes you’ve suggested still don’t work however.

    For reference, this is the error being displayed:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function add_action(), 1 passed in /var/www/wptbox/wp-content/themes/bia_theme_25May2020/functions.php on line 10 and at least 2 expected in /var/www/wptbox/wp-includes/plugin.php:403 Stack trace: #0 /var/www/wptbox/wp-content/themes/bia_theme_25May2020/functions.php(10): add_action(‘wpb_adding_scri…’) #1 /var/www/wptbox/wp-settings.php(508): include(‘/var/www/wptbox…’) #2 /var/www/wptbox/wp-config.php(73): require_once(‘/var/www/wptbox…’) #3 /var/www/wptbox/wp-load.php(37): require_once(‘/var/www/wptbox…’) #4 /var/www/wptbox/wp-blog-header.php(13): require_once(‘/var/www/wptbox…’) #5 /var/www/wptbox/index.php(17): require(‘/var/www/wptbox…’) #6 {main} thrown in /var/www/wptbox/wp-includes/plugin.php on line 403
    There has been a critical error on your website.

Viewing 1 replies (of 1 total)