View Issue Details

IDProjectCategoryView StatusLast Update
0000679XMB1Bugspublic2023-08-05 19:52
Reporterprashantt Assigned Tomiqrogroove  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.9.12.04 
Target Version1.9.12.05Fixed in Version1.9.12.05 
Summary0000679: Uncaught TypeError post logging in
DescriptionHello ,

I was in the process of installing XMB forum 1.9.12.04 on PHP 7.0.33, Apache 2.2.34, MYSQL 5.5.62 .

However , after successful installation I get the following error on logging in with the admin details i.e :

Fatal error: Uncaught TypeError: Argument 5 passed to XMB\SQL\addWhosonline() must be of the type integer, string given, called in include/functions.inc.php on line 190 and defined in include/sql.inc.php:1373 Stack trace: # 0 include/functions.inc.php(190): XMB\SQL\addWhosonline('{{IPADDR}}', '{{USERNAME}}', {{TIMESTAMP}}, '/{{XMB-FOLDER}}...', '') # 1 header.php(472): elevateUser(false, '') # 2 misc.php(27): require('/{{PATH}}/{{TO}}/{{XMB}}...') # 3 {main} thrown in include/sql.inc.php on line 1373 .

What could be the issue?. Could you please replicate?. I have tested this on PHP 7.0 to 8.0 but still the same error.
Steps To Reproduce1) Install XMB.
2) Try to login with admin details .
3) Above error is thrown.
TagsNo tags attached.
MySQL Version5.5.62
PHP Version7.0.33
Web ServerApache
BrowserFirefox
Flags
Original Reporter
SVN Revision3011
Git Commit

Relationships

related to 0000667 closedmiqrogroove MySQL && Operator is Deprecated 

Activities

prashantt

2023-08-02 06:49

reporter  

xmb.png (27,611 bytes)   

miqrogroove

2023-08-03 01:45

administrator   ~0000435

Thank you for testing this. It is already fixed for the next release and I didn't realize it was causing a login error.

Issue History

Date Modified Username Field Change
2023-08-02 06:49 prashantt New Issue
2023-08-02 06:49 prashantt File Added: xmb.png
2023-08-03 01:45 miqrogroove Assigned To => miqrogroove
2023-08-03 01:45 miqrogroove Status new => resolved
2023-08-03 01:45 miqrogroove Resolution open => fixed
2023-08-03 01:45 miqrogroove Fixed in Version => 1.9.12.05
2023-08-03 01:45 miqrogroove SVN Revision => 3011
2023-08-03 01:45 miqrogroove Note Added: 0000435
2023-08-03 01:47 miqrogroove Relationship added related to 0000667
2023-08-05 13:00 miqrogroove Target Version => 1.9.12.05
2023-08-05 13:01 miqrogroove Description Updated
2023-08-05 13:02 miqrogroove Summary XMB 1.9.12.04 throws Fatal error: Uncaught TypeError post logging in => Uncaught TypeError post logging in
2023-08-05 19:52 miqrogroove Status resolved => closed