The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User refer url
#7
Thank you for your time, it all works well now.

The issue am having now was when the page was accessed directly without the refid url (e.g. /users/join.php) the page is showing the following error;

1) Notice: Undefined offset: 0 in C:\xampp\htdocs\semilore\users\classes\DB.php on line 155

DB.php line 155 has `public function first(){
return $this->results()[0];
}`

2) <br /><b>Notice</b>: Trying to get property of non-object in <b>C:\xampp\htdocs\semilore\users\views\_join.php</b> on line <b>50</b><br />

line 50 has
Code:
<input class="form-control" type="text" name="refer" id="refer" placeholder="Enter Referee Username" value="<?=$name->username?>" required >

Please how can i resolve that?
  Reply


Messages In This Thread
User refer url - by kingnath - 09-08-2017, 11:09 PM
User refer url - by mudmin - 09-09-2017, 12:24 PM
User refer url - by kingnath - 09-10-2017, 10:03 AM
User refer url - by mudmin - 09-10-2017, 12:16 PM
User refer url - by kingnath - 09-10-2017, 03:35 PM
User refer url - by mudmin - 09-10-2017, 04:40 PM
User refer url - by kingnath - 09-10-2017, 06:41 PM
User refer url - by mudmin - 09-10-2017, 08:22 PM
User refer url - by kingnath - 09-10-2017, 11:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)