MyBB Community Forums
[Performance] Mybb Php 8.0 - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [Performance] Mybb Php 8.0 (/thread-230866.html)

Pages: 1 2 3


Mybb Php 8.0 - feilian - 2021-01-15

Mybb when will it support php 8.0? Huh

Thanks


RE: Mybb Php 8.0 - Omar G. - 2021-01-15

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.


RE: Mybb Php 8.0 - Gene Steinberg - 2021-06-23

Still doesn't work with MyBB 1.8.27.


RE: Mybb Php 8.0 - Vilicious - 2021-06-23

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


RE: Mybb Php 8.0 - Ben - 2021-06-23

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.


RE: Mybb Php 8.0 - Omar G. - 2021-06-23

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.


RE: Mybb Php 8.0 - JimR - 2021-06-27

(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


RE: Mybb Php 8.0 - Devilshakerz - 2021-06-27

Yes, if there are any PHP errors/warnings/notices on the page or the error log, you can post them here.


RE: Mybb Php 8.0 - JimR - 2021-07-01

(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 ?


RE: Mybb Php 8.0 - Devilshakerz - 2021-07-01

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#issuecomment-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)