Support > cpg1.6 bridging
SMF 2.1 bridge error
(1/1)
maximus23:
Hello,
Version Smf 2.1 Beta 4 and Coppermine cpg 1.6.x
Report Bridge Smf 2.1
Fatal error: Cannot use object of type stdClass as array
Passing the second argument as true to json_decode force it to return associative array.
Make the below change.
Change your this code line
--- Code: ---$data = json_decode($superCage->cookie->getRaw($this->cookie_name));
--- End code ---
To
--- Code: ---$data = json_decode($superCage->cookie->getRaw($this->cookie_name),true);
--- End code ---
:)
Have a nice day :)
ron4mac:
Thank you! Correction applied at Github.
Navigation
[0] Message Index
Go to full version