Can't log into WP, apparently a theme error

HI there
I am getting an error when I try to log into my wordpress dashboard:

bespoke-weddingrings.com/wp-admin/index.php

Notice: Use of undefined constant REQUEST_URI - assumed ‘REQUEST_URI’ in /home/philipe3/public_html/wp-content/themes/x-child/functions.php on line 73

The website itself is displaying fine.

I have checked with Siteground support and they say to ask you as it’s in the child theme’s functions.php

Can you have a look for me please. I am adding log in and ftp details via private message.

Thanks

Hi There,

Thanks for writing in! I have tried to login to your FTP, but I couldn’t due to an error (check secure note).

In the mean time, you can disable WP_DEBUG mode by changing the following line in your wp-config.php file and then you should be able to login to your WordPress backend.

define('WP_DEBUG', false);

Thanks!

Hi Midarshana

Ok, I’ll disable debug - did wonder if that would work but didn’t want to do it till you had a chance to have a look

see secure note coming up for ftp log in,

Hi there,

I tried to login using the FTP details you have provided but it pulls up an empty directory.

Also, as for the error you are getting, you might need to edit the functions.php file of the child theme and comment out the code REQUEST_URI which is causing the issue.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.