- This topic has 5 replies, 5 voices, and was last updated 3 years, 9 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I moved my site to a new host, and for the first time I am getting a warnig:
Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in /home/myhostspace/public_html/aqui/wp-content/themes/genesis-sample/functions.php on line 73
I am using Genesis Sample with the latest version of the Genesis Framework, and the site was working just fine before I migrated it with the Duplicator Pro plugin.
Here is a copy of my phpinfo in case that helps clear the issue:https://www.peruvian-maca.com/
No custom code at all.
This is only a warning seen when browsing the site.
The warning does not show when using the dashboard.
Make sure your new hosting is set to 7.2 or 7.3. Go to Settings > Site Health > Server tab.
Love coffee, chocolate and my Bella!
© 2023 WPEngine, Inc.