1
View single post by Undrstm8ed
 Posted: Thu Nov 21st, 2024 05:36 pm
PM Quote Reply Full Topic
Undrstm8ed
Seasoned...


Joined: Sat Oct 21st, 2017
Posts: 1299
Status: 
Offline
Reputation: 
Reputation Points: $user_rep
chris wrote:
I just altered the code slightly to make sure it did not throw an error - not sure what you did differently, the error messages don't provide a full trail and I could not replicate the error myself.

This is what I see in the error log -

[21-Nov-2024 11:51:22 UTC] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string / string in /home/zeroredl/ford-rangers.com/lib.php:1909

Stack trace:
#0 /home/zeroredl/ford-rangers.com/view_user.php(167): page_offset('%27', '40', '31')
#1 /home/zeroredl/ford-rangers.com/view_user.php(449): display_posts_by_user(Array)
#2 {main}
  thrown in /home/zeroredl/ford-rangers.com/lib.php on line 1909

So all I did was to make sure any empty strings are converted to empty arrays. 

Error: LogonUser failed with error code 1909



____________________
"Be never first, never last and never noticed." - Unknown

"The slave is held most securely when he is held by the chains of his own will and of his own fears, and when he is locked down by his own slavish desires for a comfortable life." - Michael Bunker

"Mundus vult decipi, ergo decipiatur" - ~ attributed to Petronius (Gaius Petronius Arbiter (ca. 27–66 AD))
Roman courtier during the reign of Nero.

"Those who expect to reap the blessings of freedom, must, like men, undergo the fatigue of supporting it." - Thomas Paine


~ Undrstm8ed Truckumentry Write Up Pg.

~ Undrstm8ed Trailermentry Write Up Pg.
.