Critical Error on Some Pages

Hi, I am facing critical errors on some of the pages on my website. Pages are Contact us, Events, Media, and other pages. Please help me fix the issues.

Website: www.charmprisonministry.org

Hello @charmministry,

Thanks for writing to us.

It may be caused by a plugin conflict or custom code. Please add the code provided below to your wp-config.php file to enable debugging. The errors will be recorded in a file named debug.log inside the wp-content folder.

Once enabled, please let us know if you find any errors related to our theme or its bundled plugins. We can investigate further based on the logged errors.

// 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 your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • FTP login details

You can find the Secure Note button at the bottom of your posts

Thanks

Hi, I copied and pasted the code, but that didn’t change anything.

Hello @charmministry,

You need to remove the code that you have added and recheck it. Please note that we can not debug your site without FTP and admin credentials.

Thanks