1
alain01
Error in newbb - footer.php ligne 44
  • Today 14:04

  • alain01

  • Just can't stay away

  • Posts: 533

  • Since: 2003/6/20


Hello
XOOPS 2.5.11
php 7.4 / mysql 8 /
5.01 Beta 4 [2021-03-21] / xswatch 4

Erreurs
Notification: Trying to access array offset on value of type null dans le fichier /modules/newbb/footer.php ligne 44

Context
global $forumCookie;  // for $forumCookie["prefix"] revert last change - use global instead of include
// add toggle script
//$toggle_script = "var toggle_cookie="" . $forumCookie['prefix'] . 'G' . '';';
$toggle_script 'var toggle_cookie="' $forumCookie['prefix'] . 'G";';
$xoTheme->addScript(null, ['type' => 'text/javascript'], $toggle_script);

line 44 :
$toggle_script 'var toggle_cookie="' $forumCookie['prefix'] . 'G";';

2
alain01
Re: Error in newbb - footer.php ligne 44
  • Today 14:12

  • alain01

  • Just can't stay away

  • Posts: 533

  • Since: 2003/6/20


Haaaa;

Newbb 5.1.0.Beta 7

$toggle_script 'var toggle_cookie="' . (isset($forumCookie['prefix'])?:'') . 'G";';


isset.

Ok, I try this.

Login

Who's Online

433 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 433


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits