[Support request] PHP Fatal error

Home Forums Support [Support request] PHP Fatal error

Home Forums Support PHP Fatal error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1386711
    racheli

    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

    #1386741
    David
    Staff
    Customer Support

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.