Error: Use of undefined constant REQUEST_URI

edited March 2018 in Other
Hello,

My website works fine an hour ago. I contacted my server provider, iPage, to resolve an Internal Server Error whenever I rename the folder in the directory and fix the domain pointer to that subfolder which includes my WordPress website. I tested it again to show them the error but since they cannot resolve it as of the moment, I reverted everything to its original state. Then, this error started showing up:

Notice: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in /hermes/bosnacweb01/bosnacweb01bo/b2/ipg.flowersbyyumicom/_love/wp-content/themes/betheme/functions.php on line 73

This also messed up some areas in the website. I wonder what it means. Note that I did not change anything in the website. 

I hope you could help me with this.

Thank you.

Comments

  • Hi,
    please start with disablin all plugins. Did you change anything in the functions.php file?
    thanks
  • No, didn't change anything in the entire website -- not the files, not the theme, not the plugins, not anything. The error just popped out of the blue. Though, I think the iPage support may have changed something in the functions.php.

    Anyway, I resolved it myself by copying the original functions.php from the theme package to the server.

    Thank you.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.