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
Some problems with the notification system
#1
Hi,
I`m currently running version 4.4.03 with PHP 5.6. I have some PHP script pages, made from the blank project pages that write and read to/from database. But when I turn on the notification system my scripts stopped working and I get an error:

Fatal error: Call to a member function getUnreadCount() on null in /userspice/users/includes/page_footer.php on line 6

I tried different versions of PHP, but there is no effect. The notification system works, but everything on the project pages stops.

Is there a way I can fix it or this is something that will get fixed in the following versions?
  Reply
#2
Does this occur on page US pages or just your custom pages?
  Reply
#3
Only on some of my pages, but not on the US pages.
  Reply
#4
You more than likely need to replace your header/nav and footer calls on your custom pages. See users/account.php for example of the new header and footer calls.
  Reply
#5
This fixed the problem! Thanks!
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)