get_field() is a function from Advanced Custom Fields. Do you have that plugin installed? It seems to be referenced by your child theme.
Hello, Steve Thanks for your kind and fast reply, yes I have ACF on the live server and I believe it’s cloned on the staging. but on living it’s working fine without no issues, shall I disable the plugin on staging and everything will work just fine?
No, the problem is it’s NOT active on your staging site.
I tried to delete the folder ACF from CPANEL plugin folder just to disable the error and to be able to access the backend and frontend but unfortunately problem persist, how can we fix this problem now? π
Put that folder back. Is the plugin active on the staging site?
I put the same copy from the live server to the staging server, just copy/paste under CPANEL, and I tried the staging from private browsing Chrome/Firefox/Safari still the same problem, why it’s NOT ACTIVE? should I activate it manually? https://prnt.sc/MJ03FAKvJbLI
-
This reply was modified 4 years, 3 months ago by
marchajj.
Change the theme to one of the twenty* themes as this error seems to be caused by your theme’s use of ACF. Once the site is up and you can get into wp-admin, then you can check or reinstall athat plugin properly. See if this tutorial helps: https://www.fastdomain.com/hosting/help/change-wordpress-theme-database
I cannot change to the default theme as mentioned in the linked tutorial and thank you for that: I followed all points but point 5 is deadend: https://prnt.sc/woohvnevT_YM I cannot find twenty-twenty themes in the drop-down to make it default.
Any other solutions? can we keep the current theme and lets say disable the ACF and start testing?
i am trying the WP-ADMIN link now but 500 server error: https://prnt.sc/dx0DArVTpnLE
You should talk to your theme developer.
https://prnt.sc/p0UuNElaSweJ I changed to default in PHP my admin and necessary done but now the staging is opening the live server. this shouldnt happen, where is the default theme?
You know what, as this is only staging, how about blowing it away and creating a new staging site? Are you doing that manually, with some tool, or with a plugin like https://ww.wp.xz.cn/plugins/wp-staging/?
manually all from CPANEL, php my admin, my SQL database, and the staging environment here: https://stagingkpro.kadoonpro.com/
IM having this now while just installing theme twenty twenty or twenty twenty on, can you advice please https://prnt.sc/eSj4tY1YolCb ?