ryanhowdy / fcms

Family Connections - Create a private family website.
http://www.familycms.com
GNU General Public License v2.0
82 stars 41 forks source link

Invalid user id. - 0 on home page #612

Closed ryanhowdy closed 4 years ago

ryanhowdy commented 4 years ago

Assigned to Problems, Issues and Bugs #41232. As reported in Tender:

When logged in as Admin, I can go into the admin panel and create a poll. after creating the poll, I return to the main site. The poll is created but it says created by user unknown. ( see user unknown . jpg )

In my logs file I am getting an error ( see invalid user id . jpg )
Invalid user id. - 0
FILE - /home3/mysite/public_html/inc/utils.php [157] PHP - 7.3.13 (Linux) STACK #0 __construct called at [/home3/mysite/public_html/home.php:40] #1 control called at [/home3/mysite/public_html/home.php:69] #2 displayWhatsNew called at [/home3/mysite/public_html/home.php:94] #3 displayWhatsNewAll called at [/home3/mysite/public_html/home.php:276] #4 getUserDisplayName called at [/home3/mysite/public_html/home.php:599] #5 add called at [/home3/mysite/public_html/inc/utils.php:153]

I'm sure both are related ... I have been doing some digging to find the cause, but to no avail.
Matbe someone else has had this issue, and I cannot find that thread in here.. Thanks for any input or insight..