The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
Undefined Variables on Page
#1
Hello!

I have 6 pages that have public access in my system:
Code:
usersc/includes/external/phoneadd.php
Code:
usersc/includes/external/phoneedit.php
Code:
usersc/includes/external/templateadd.php
Code:
usersc/includes/external/templateedit.php
Code:
usersc/includes/external/zipadd.php
Code:
usersc/includes/external/zipedit.php

These pages are accessed via
Code:
usersc/externalpublic.php
using
Code:
?type
in the URL and defined accordingly. However, when a "guest" (non-logged in user) visits the pages, the page works just fine, but in the header we have these errors:
Notice: Trying to get property of non-object in /home/aircentralized/public_html/boss/usersc/externalpublic.php on line 27

Notice: Undefined variable: column in /home/aircentralized/public_html/boss/users/helpers/us_helpers.php on line 111

Notice: Undefined variable: data in /home/aircentralized/public_html/boss/users/helpers/us_helpers.php on line 111

I have removed the navigation from the files as I do not want the public having access to the navigation. These pages are linked separately from my system.

Any thoughts on how to cure these errors? Let me know if you need some code and what.
  Reply


Messages In This Thread
Undefined Variables on Page - by Brandin - 01-02-2017, 08:26 PM
Undefined Variables on Page - by Brandin - 01-02-2017, 08:26 PM
Undefined Variables on Page - by mudmin - 01-02-2017, 10:05 PM
Undefined Variables on Page - by Brandin - 01-03-2017, 12:04 AM
Undefined Variables on Page - by mudmin - 01-03-2017, 03:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)