1
alain01
Error in newbb - footer.php ligne 44
  • 10/19 14:04

  • alain01

  • Just can't stay away

  • Posts: 536

  • 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
  • 10/19 14:12

  • alain01

  • Just can't stay away

  • Posts: 536

  • 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.

3
alain01
Re: Error in newbb - footer.php ligne 44
  • 10/21 23:19

  • alain01

  • Just can't stay away

  • Posts: 536

  • Since: 2003/6/20


Ok now !

4
Mamba
Re: Error in newbb - footer.php ligne 44

Great to hear that it's working now!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

171 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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