Site logo

Archived topic

PHP Fatal error

1 reply · Started by racheli on August 4, 2020

Viewing posts 1–2 of 2

I got this error on my site:

PHP Fatal error: Uncaught Error: Call to undefined function get_field() in /home/biorgono/domains/biorgonomy.co.il/public_html/wp-content/themes/generatepress/functions.php:117

Hi there,

That error is related to line 117 of your functions.php file.
This is the themes default functions.php:

https://github.com/tomusborne/generatepress/blob/master/functions.php

As you can see there is not 117 lines of code in there.
This means your functions.php has been edited and custom code has been added.
And the error is related to the custom code.

NOTE: You should never edit the Themes functions.php instead you should install a Child Theme:

https://docs.generatepress.com/?s=child+theme

This archived topic is closed to new replies.