• Resolved mforno

    (@mforno)


    This morning I edited the Functions.php file thinking I was knowing what I was doing and once I saved it I ended up having this fatal error come up on my screen. You can also see it when you go to https://www.airliebeachbackpackers.com I thought it would be all ok because I keep backups but when I went to login to the wordpress dashboard I then get the same message there too. Can someone please help me fix this problem and get my site back up online? ??

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘Identifier “booking_form” is not defined.’ in /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/vendor/juice/JuiceContainer.php:116 Stack trace: #0 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/vendor/juice/JuiceContainer.php(89): JuiceContainer->getServiceOrParameter(‘booking_form’) #1 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/functions.php(38): JuiceContainer->offsetGet(‘booking_form’) #2 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/woocommerce/includes/WC_Tour_Integration_Helper.php(62): adventure_tours_di(‘booking_form’) #3 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/woocommerce/includes/WC_Tour_Integration_Helper.php(39): WC_Tour_Integration_Helper->init() #4 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-to in /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/vendor/juice/JuiceContainer.php on line 116

Viewing 4 replies - 1 through 4 (of 4 total)
  • Use FTP to replace the Functions.php file with a fresh, unedited copy.

    See Filezilla and FTP Clients ? WordPress Codex.

    Or use your web host’s file manager in your control panel.

    Thread Starter mforno

    (@mforno)

    Hi Mark,

    I did what you said and replaced the functions.php file and I still get the same thing:

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘Identifier “booking_form” is not defined.’ in /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/vendor/juice/JuiceContainer.php:116 Stack trace: #0 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/vendor/juice/JuiceContainer.php(89): JuiceContainer->getServiceOrParameter(‘booking_form’) #1 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/functions.php(38): JuiceContainer->offsetGet(‘booking_form’) #2 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/woocommerce/includes/WC_Tour_Integration_Helper.php(62): adventure_tours_di(‘booking_form’) #3 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/woocommerce/includes/WC_Tour_Integration_Helper.php(39): WC_Tour_Integration_Helper->init() #4 /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-to in /home/hippyt5/public_html/airliebeachbackpackers.com/wp-content/themes/adventure-tours/vendor/juice/JuiceContainer.php on line 116

    Replace the whole theme folder. But realize that if you do that, you lose any other changes you’ve made to the theme.

    Thread Starter mforno

    (@mforno)

    Thank’s for your tips Mark.

    I decided to try another way by just disabling the theme and being able to login that way to perform a backup restore since I had made a backup using “backup guard” plugin. All seems to be working fine now.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘What is this WordPress fatal exception error and how do I fix it?’ is closed to new replies.