Hi,
I’m developing a site with a “Born to give” theme on a subdomain and everything was fine until a week ago when I got a white home page with a “TEST” written on it.
I’ve disabled the plugins and installed an updated version of a theme on the latest wordpress version but to no avail.
I must add that I can enter the site via wp-admin.
You can check the domain here - www.dev.savez-dnd.hr
The “crash log” says:
Uncaught Error: Cannot use object of type Closure as array in /home5/savezdnd/dev.savez-dnd.hr/wp-content/themes/born-to-give/functions.php:46 Stack trace:
#0 /home5/savezdnd/dev.savez-dnd.hr/wp-content/themes/born-to-give/functions.php(62): remove_class_filters(‘admin_init’, ‘WC_Admin’, ‘admin_redirects’)
#1 /home5/savezdnd/dev.savez-dnd.hr/wp-includes/class-wp-hook.php(286): disable_shop_redirect(’’)
#2 /home5/savezdnd/dev.savez-dnd.hr/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(’’, Array)
#3 /home5/savezdnd/dev.savez-dnd.hr/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /home5/savezdnd/dev.savez-dnd.hr/wp-admin/admin.php(156): do_action(‘admin_init’)
#5 /home5/savezdnd/dev.savez-dnd.hr/wp-admin/index.php(10): require_once(’/home5/savezdnd…’)
#6 {main} thrown in /home5/savezdnd/dev.savez-dnd.hr/wp-content/themes/born-to-give/functions.php on line 46
I really don’t know what to do anymore. Any help would be appreciated