• Lucy

    (@kiddiestuff)


    I made a change to my functions.php file and then restored the original and now get this error.

    How do I fix this?

    Fatal error: Call to undefined function wp_load_alloptions() in /hermes/bosnacweb05/bosnacweb05am/b911/nf.doorstepinc/public_html/newsite/wp-includes/functions.php on line 1668 Fatal error: Call to undefined function get_option() in /hermes/bosnacweb05/bosnacweb05am/b911/nf.doorstepinc/public_html/newsite/wp-includes/l10n.php on line 69

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joy

    (@joyously)

    Both of those functions are supposed to be in wp-includes/option.php so maybe you deleted that file or overwrote it with one of the theme’s files?
    You can download the WP zip for the version you are running, and use FTP or your host control panel File manager to replace just that one file, or the entire wp-admin and wp-includes folders.

    Thread Starter Lucy

    (@kiddiestuff)

    Thank you. I didn’t overwrite option.php and it was still there.
    Fixed the function.php now I get this error
    Fatal error: Call to undefined function wp_fuzzy_number_match() in public_html/newsite/wp-includes/media.php on line 613

    Joy

    (@joyously)

    That function should be in wp-includes/functions.php as of WP 5.3.
    https://developer.ww.wp.xz.cn/reference/functions/wp_fuzzy_number_match/

    Do you have a mixture of versions or an update that didn’t complete?

    Thread Starter Lucy

    (@kiddiestuff)

    Joy,
    where do I find the zip file for WP?

    Joy

    (@joyously)

    There’s a link in the header of every page on this site!
    https://ww.wp.xz.cn/download/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Function.php problem’ is closed to new replies.