Fatal Error after site move
-
I have had a lot of problems with a WordPress site running Ver 5.8, after migration. The site was backed up in compressed files and was not a direct transfer. Upgrading it makes a lot of the problems worse, although I have a staging version I created before attempting to fix any problems, and it works. The original WP site is needed for reference and I cannot get it to function, even badly, now. Reinstalling it did not help at all and merely complicated everything. I have put the files into /wp
I have finally got the dashboard up and Softaculous WordPress Manager shows the plug-ins and themes (and databases), but the site is a clean WP install, with no data at all. Have tried a lot of different ways around this. Have it set to debug and these are the errors stated:
>>Fatal error: Uncaught Error: Call to undefined function get_field() in /home/csebscb2/public_html/wp/wp-
content/themes/cseb_theme/front-page.php:25 Stack trace: #0 /home/csebscb2/public_html/wp/wp-
includes/template-loader.php(106): include() #1 /home/csebscb2/public_html/wp/wp-blog-header.php(19):
require_once(‘/home/csebscb2/…’) #2 /home/csebscb2/public_html/wp/index.php(17): require
(‘/home/csebscb2/…’) #3 {main} thrown in /home/csebscb2/public_html/wp/wp-content/themes/cseb_theme/front-
page.php on line 25<<
There is also a Walker error that re-occurs:
>>Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args, $id = 0) should be
compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = NULL, $id = 0) in
/home/csebscb2/public_html/wp/wp-content/themes/cseb_theme/functions.php on line 219<<
I have tried to fix both, but it only resulted in more problems. I am not very experienced in working in .php, so any help would be appreciated.
Thanks
- You must be logged in to reply to this topic.