MyBB Community Forums

Full Version: Mybb Php 8.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Mybb when will it support php 8.0? Huh

Thanks
MyBB will support PHP 8.0 in upcoming versions (1.8). Work has begun on it but we can't guarantee or promise a set version. Hopefully next release.
Still doesn't work with MyBB 1.8.27.
(2021-06-23, 03:15 PM)Gene Steinberg Wrote: [ -> ]Still doesn't work with MyBB 1.8.27.

Won't happen. 1.8 is done they are putting all effort into 1.9 now.
Whilst we did fix some php 8 issues in 1.8.27 it is likely you may still face issues.

If you are attempting to use PHP 8 on the 1.8.27 it would be helpful for any error messages to be reported in the bugs forum for us to consider.
Please report any PHP 8 issue you find in 1.8.27

We already know it is possible not all issues were fixed, so that detail alone won't help much.
(2021-06-23, 07:37 PM)Omar G. Wrote: [ -> ]Please report any PHP 8 issue you find in 1.8.27

We already know it is possible not all issues were fixed, so that detail alone won't help much.

So do we report errors here or not .. the above confused me a bit Huh
Yes, if there are any PHP errors/warnings/notices on the page or the error log, you can post them here.
(2021-06-27, 02:54 PM)Devilshakerz Wrote: [ -> ]Yes, if there are any PHP errors/warnings/notices on the page or the error log, you can post them here.

Ok
from digging around a bit, I don't think the cache system is working correctly as certain variables are not made available to the processing script

an example 

[Image: DH4773p.png]

Plugins :- some plugins are using curly braces ($myarray{0}) to access array offsets this causes the admin cp to just error out with a 500 http error, disabling plugins at least gets the admin cp running again 

running the admin cp index.php gives the following errors 

[Image: WNQs8LO.png]

does this indicate that the $mybb object is not being created ?
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)
Pages: 1 2 3