Linked Questions

24 votes
5 answers
47k views

I recently moved my website into a new server , my database is perfectly configured but i keep getting this error and can't access my wp-admin : Use of undefined constant REQUEST_URI - assumed '...
user3501194's user avatar
26 votes
5 answers
173k views

I have theses errors in php v7.2 but don't see any E_WARNING when using php v7.1. How can I resolve following errors? /web13/web/boutique/includes/Sites/Shop/NavigationHistory.php on line 39 ...
Ruzo's user avatar
  • 277
1 vote
2 answers
31k views

I have a strange error message after using the post to wall function. It did successfully post to the wall however i got a very weird strange error. [30-Jan-2012 23:36:49] PHP Notice: Use of ...
user1175105's user avatar
1 vote
3 answers
6k views

when ever i want to logout, it always show "Use of undefined constant login - assumed 'login'" error. what did i do wrong? web.php route::get('/logout','AuthController@logout')->name('logout'); ...
Lee wayy's user avatar
3 votes
3 answers
6k views

Notice: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' in /home/syole/public_html/includes/config.php on line 21 Notice: Use of undefined constant DOCUMENT_ROOT - assumed '...
syole's user avatar
  • 31
2 votes
3 answers
4k views

Notice: Use of undefined constant username - assumed 'username' in /home/content/04/7195304/html/header.php on line 54 I get this when writing things like $_COOKIE[username] or $_POST[username]. Edit ...
Seth's user avatar
  • 2,173
-3 votes
1 answer
7k views

don't know better title for this, but here's my code. I have class user that checks form data when it's instanciated but I get following errors/notices: Notice: Use of undefined constant username - ...
Jinx's user avatar
  • 867
1 vote
1 answer
23k views

Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/conteud2/public_html/include/meta.php on line 114 variate code using {var2[id]} no ...
ConteudoAnimal's user avatar
-1 votes
1 answer
14k views

I'm following the tutorial here to create a login page using MySQL. The code seemed to be working flawlessly when I left my computer 2 days ago. Now I come back to work on it, haven't changed anything,...
Trevzilla's user avatar
-1 votes
2 answers
10k views

Hello i'm using sms sender in php and i'm getting this error Notice: Use of undefined constant method - assumed that's my code <?php //////// /* Sender SMS */ //////// $request =""; //...
Hesham El Masry's user avatar
1 vote
1 answer
3k views

Anyone able to assist on fixing this one annoying error been trying for like 30minutes. <?php if(isset($_POST['statusBtn'])) { $username = htmlspecialchars($_POST['address']); strtolower($...
Immense's user avatar
  • 11
-4 votes
2 answers
11k views

Hi I have this error in my website my website is wordpress 4 i use post format in post format i create this php to if page has quote post then dont load title and image and etc from quote post just ...
leopoldjobs's user avatar
0 votes
3 answers
2k views

Im creating a scraping code that scrape each Address in a specific suburbs. but im stuck in this problem; " Use of undefined constant j - assumed 'j'" and it identified in $target_url can ...
zerconis's user avatar
-2 votes
1 answer
1k views

I am using some of the available constants in PHP to show the date and time in a particular format: $created_date=date(Y.'-'.m.'-'.d.'\T'.H.':'.i.':'.s.'\Z',$created_timestamp); Since updating from ...
David Robertson's user avatar
-1 votes
1 answer
1k views

Hey getting an error on my code can anyone tell me how to fix it? Notice: Use of undefined constant folder - assumed 'folder' in C:\xampp\htdocs\a\gallery.php on line 74 Notice: Use of undefined ...
Josh Strachan's user avatar

15 30 50 per page