Critical error on post pages and no content on the index post page

Hello, our website has a critical error, only on post pages and the index post page (as far as I can figure it out).

The site opens well on home: https://www.driegang.nl

But the error ‘critical error’ shows up on a regular post like: https://www.driegang.nl/nieuwsbrief-juli-2025/
the index page : https://www.driegang.nl/over/actueel/actueel/ has no posts

I have tried this:

  • Update to at least PHP 8
  • Update all things like theme, all plugins and Wordpress version to the latest.
  • Disable plugins (check: still an error) and enale them again.

Can you help me with tis issue?

Jeroen

Hello Jeroen,

Thanks for writing to us,

Please add the code into your wp-config.php for debugging setup, and the error logged into the file named debug.log inside the wp-content folder.

You can let us know if you find any errors that are related to our theme or theme-bundled plugins. We can do further investigation based on that.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
//SET PHP INI DISPLAY ERROR FALSE
@ini_set( 'display_errors', 0 );

Please find the video that will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o

Please share the FTP details and WordPress admin login details in the secure note so that we can debug it properly.

Thanks

Hi Prakash,

I have entered the code in the wp-config.php file bur no debug.log file appeared in the wp-content folder.

I have enclosed te details (FTP and WordPress admin login) in the secure note.

Hello @macvink,

I have identified a plugin conflict on your site. To troubleshoot, I recommend temporarily disabling the “Email Subscribers & Newsletters Pro” plugin. Since we do not provide support for third-party plugins, please contact the plugin author directly for a solution, as further assistance with this plugin falls outside our support scope. Additionally, I noticed a PHP 8.4.6 compatibility bug with the Pro theme, which may be related to the latest update. This issue has been added to our internal tracker for developer review. Please stay tuned for future theme updates addressing compatibility and improvements.

Thank you for your understanding

Thanks for investigating. Disabling the “Email Subscribers & Newsletters Pro” did not solve the issue. After disabling the plugin the posts still gave a critical error.

However, after (temporarily) downgrading to PHP 7.4 the posts did all show up properly so it looks that the theme incompatibility with PHP 8 is the main reason.

Is it possible to fix this soon?

Jeroen

Image from post index page with the downgraded PHP version:

https://www.driegang.nl/over/actueel/actueel/

We’ll have a fix in the next release for this. I’ve added a workaround on your site. Thanks for sending this our way.

Seems that the problem is solved.

Thank you so much Charlie! :grinning: :

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.