MyBB.de Forum
[geteilt] Probleme mit PHP 8.0 - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: MyBB 1.8.x (https://www.mybb.de/forum/forum-87.html)
+--- Forum: Allgemeiner Support (https://www.mybb.de/forum/forum-88.html)
+--- Thema: [geteilt] Probleme mit PHP 8.0 (/thread-38717.html)

Seiten: Seiten: 1 2 3 4


[geteilt] Probleme mit PHP 8.0 - PipoD - 22.05.2023

Hallo, ich stehe auch auf dem Schlauch. Bin bei Strato.

nach Umstellung auf mysqli (siehe oben) bekomme ich folgende Meldung

Warning [2] Undefined property: MyLanguage::$confirm_title - Line: 14 - File: global.php(958) : eval()'d code PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 14 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 15 - File: global.php(958) : eval()'d code PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 15 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$expcol_expand - Line: 16 - File: global.php(958) : eval()'d code PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 16 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Trying to access array offset on value of type null - Line: 5596 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 5596 errorHandler->error_callback
/global.php 1035 build_theme_select
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits


RE: [geteilt] Probleme mit PHP 8.0 - StefanT - 22.05.2023

Welches Sprachpaket und welche Version verwendest du? Im aktuellen deutschen Paket gibt es beide Sprachvariablen.


RE: [geteilt] Probleme mit PHP 8.0 - PipoD - 22.05.2023

       

Ich habe keine Plugins. 
Vielleicht habe ich beim Upgraden irgendwann mal eine falsche Versionsnummer angegeben und ein erneuerte Dateiversion übersprungen, geht sowas?
Eigentlich läuft das Forum problemlos, erst seit ich von Strato aufgefordert wurde, meine PHP-Version zu aktualisieren, muss ich immer wieder zu der veralteten PHP-Version 7.4 wechseln und jetzt auch extra dafür bezahlen.


RE: [geteilt] Probleme mit PHP 8.0 - Schnapsnase - 22.05.2023

Die vermissten Sprachvariablen befinden sich in der "global.lang.php" der jeweiligen Sprache.
Prüfe, ob sie da vorhanden sind bzw. ergänze sie oder lade die Sprachdateien neu hoch.


RE: [geteilt] Probleme mit PHP 8.0 - PipoD - 23.05.2023

Ich habe nur global.php gefunden und das hier:

   


RE: [geteilt] Probleme mit PHP 8.0 - Schnapsnase - 23.05.2023

/inc/languages/deutsch_du/global.lang.php
/inc/languages/deutsch_sie/global.lang.php
/inc/languages/english/global.lang.php


RE: [geteilt] Probleme mit PHP 8.0 - PipoD - 23.05.2023

Cyberduck unterschlägt mir anscheinend was. über Strato finde ich die Dateien.

ich habe jetzt "nur" noch folgende Warnings
Im Forum wird auch dieses Problem besprochen, oder?

https://www.mybb.de/forum/thread-38254.html?highlight=global.php+961

Ich verstehe es nur leider nicht, ich kann nur seeeeehr wenig PHP schreiben. Eigentlich nur CopyandPaste..

Sollte ich vielleicht einfachheitshalber eine Neuinstallation machen?


RE: [geteilt] Probleme mit PHP 8.0 - Schnapsnase - 23.05.2023

Gehe ins Template "header" und suche nach:
Code:
{$unreadreports}

und ersetze es durch:
Code:
{$modnotice}

Dieses Problem deutet darauf hin, dass die Templates deines Themes nicht aktuell sind.


Btw
Ein Verzeichnis /admin/styles/sharepoint gibt es in MyBB 1.8.x nicht.
Aufgrund deiner Fehlermeldungen frage ich mich gerade, ob du evtl. ein uraltes ACP-Theme drübergebügelt hast oder was hier sonst noch so veraltet ist.


RE: [geteilt] Probleme mit PHP 8.0 - Hatschi - 23.05.2023

Ich klinke mich mal hier wieder ein, falls verkehrt, bitte verschieben.

Heute das MyBB-Upgrade auf Version 1.8.34 durchgeführt. Soweit keine Probleme. - Leider immer noch bei Strato folgende Meldungen im Forum (es sind keine Plugins installiert):

   

Würde mich sehr über eine Lösung freuen ...


RE: [geteilt] Probleme mit PHP 8.0 - SvePu - 23.05.2023

(23.05.2023, 21:36)Hatschi schrieb: Würde mich sehr über eine Lösung freuen ...

Ersetze bitte mal deine MYBB_ROOT/inc/functions.php durch die im Anhang.