Jump to the post that solved this thread.
Not Solved [Performance] Mybb Php 8.0
#13
Not Solved
(2021-07-01, 02:49 PM)JimR Wrote:
(2021-07-01, 01:32 PM)Devilshakerz Wrote: Were all the attached errors generated when running 1.8.27? Some of them suggest outdated (or modified) files.

Added some things to investigate in https://github.com/mybb/mybb/issues/4138...-872245095

(2021-07-01, 07:47 AM)JimR Wrote: running the admin cp index.php gives the following errors 

[Image: WNQs8LO.png]

does this indicate that the $mybb object is not being created ?

If the file was executed through CLI, that may be normal.

<error>
	<script>showthread.php(1612) : eval()'d code</script>
	<line>46</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Undefined property: MyLanguage::$thread_modes</message>
	<back_trace>#0  errorHandler->error() called at [/showthread.php(1612) : eval()'d code:46]
#1  eval() called at [/showthread.php:1612]
</back_trace>
</error>

This language string was removed in https://github.com/mybb/mybb/pull/4351/files (template needs to be updated)

deleted error.log , copied the changed files for 18.07 to the mybb directory and re ran upgrade.php. attached is the 'new' error log

my bad added new version of the error log ..
 and cli outputs from php 7.4 & php 8.07 
php 7.4

[Image: 6h1ZZST.png]

php 8.0

[Image: tF0XVLm.png]

as you can see php 7.4 processes the script correctly & php 8.0 does not, there are no errors written to the error log from the admin cp this is due (I guess) to the mybb object not being created  line 176 being 
$mybb->settings['errortypemedium'] = "none";

As a side note I disabled the xthreads plugin, which fails with a few errors, but for some reason mybb is still trying to load xthreads

[Image: JlBtHL6.png]

hope this helps


Attached Files
.txt   error.txt (Size: 395 bytes / Downloads: 11)
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

Reply
Jump to the post that solved this thread.


Messages In This Thread
Mybb Php 8.0 - by feilian - 2021-01-15, 06:27 PM
RE: Mybb Php 8.0 - by Omar G. - 2021-01-15, 06:40 PM
RE: Mybb Php 8.0 - by Gene Steinberg - 2021-06-23, 03:15 PM
RE: Mybb Php 8.0 - by Vilicious - 2021-06-23, 03:32 PM
RE: Mybb Php 8.0 - by Ben - 2021-06-23, 04:04 PM
RE: Mybb Php 8.0 - by Omar G. - 2021-06-23, 07:37 PM
RE: Mybb Php 8.0 - by JimR - 2021-06-27, 11:28 AM
RE: Mybb Php 8.0 - by Devilshakerz - 2021-06-27, 02:54 PM
RE: Mybb Php 8.0 - by JimR - 2021-07-01, 07:47 AM
RE: Mybb Php 8.0 - by Devilshakerz - 2021-07-01, 01:32 PM
RE: Mybb Php 8.0 - by JimR - 2021-07-01, 02:49 PM
RE: Mybb Php 8.0 - by JimR - 2021-07-03, 09:38 AM
RE: Mybb Php 8.0 - by Devilshakerz - 2021-07-02, 07:30 PM
RE: Mybb Php 8.0 - by JimR - 2021-07-05, 07:53 AM
RE: Mybb Php 8.0 - by Matt - 2021-07-05, 11:35 AM
RE: Mybb Php 8.0 - by JimR - 2021-07-05, 12:21 PM
RE: Mybb Php 8.0 - by JimR - 2021-07-14, 08:44 AM
RE: Mybb Php 8.0 - by Devilshakerz - 2021-07-14, 11:35 AM
RE: Mybb Php 8.0 - by Gene Steinberg - 2021-07-19, 05:26 AM
RE: Mybb Php 8.0 - by JimR - 2021-07-19, 07:28 AM
RE: Mybb Php 8.0 - by Crazycat - 2021-07-19, 07:52 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)