Problem with PHP 8.0

Posted in: Newspaper
Post count: 494

Hi,

I tried to set PHP 8.0 for mondeoz.com but the website isn’t working, I have a blank page.
I switched back to 7.4 but I need to make this change for obvious security reasons.
Can you help?

Thanks

Post count: 494

Fyi I’m using Newspaper 12.3

Post count: 27744

Hi,

Have you checked for a plugin conflict? You will have first to start looking for a plugin conflict. Please deactivate ALL plugins except tagDiv ones, also if you are using a child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you!

Post count: 494

Hi, problem solved. Now I have an alert related to the theme:
Warning: A non-numeric value encountered in /mondeoz.com/wp-includes/functions.php on line 493

Post count: 27744

Hi,

Did you add a custom code to that file? Usually, the theme is in wp-content.

Thank you!

Post count: 494

Hi, no I did not modify this file and I have no idea why it’s installed there instead of wp-content
I created this website in 2017 and used the standard template at that time.

Post count: 494

Lines 486 to 498 are:
if ( 0 === $bytes ) {
/* translators: Unit symbol for byte. */
return number_format_i18n( 0, $decimals ) . ‘ ‘ . _x( ‘B’, ‘unit symbol’ );
}

foreach ( $quant as $unit => $mag ) {
if ( (float) $bytes >= $mag ) {
return number_format_i18n( $bytes / $mag, $decimals ) . ‘ ‘ . $unit;
}
}

return false;
}

Post count: 494

Moreover, when I look through the FTP, I see another file in:
/mondeoz.com/wp-content/themes/Newspaper/functions.php

Post count: 27744

Hi,

Please reinstall your wordpress -> https://wordpress.org/plugins/wp-downgrade/

Thank you!

Post count: 494

Sounds like a mission…

Post count: 494

Moreover, I don’t understand. Could you kindly explain why and how?
This plugin helps to downgrade a WP version, how could I “reinstall” with it? Wouldn’t it be easier to click “Re-install version 6.1.1-fr_FR” in Dashboard > Updates? But what would be the benefit? And wouldn’t I risk to loose all my settings?
Thanks

Post count: 27744

Hi,
Yes, you can reinstall it, as you said.

Thank you!

Post count: 494

Still have the same problem.
Can you help?

Post count: 27744

Hi,

We can take a look at this and investigate why it is not working for you. Contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– cpanel url and credentials
– a link to this topic in order to identify you

Thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.