Installation of X

Hello X Team -

I installed my theme, I thought with no issue, but when I went to register the license, I began seeing a long list errors:

Warning : fopen(/home3/bluetroop/tceq.bluetroop.com/wp-content/plugins/hello.php): failed to open stream: No such file or directory in /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php on line 5974

Warning : fread() expects parameter 1 to be resource, boolean given in /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php on line 5977

Warning : fclose() expects parameter 1 to be resource, boolean given in /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php on line 5980

Warning : Cannot modify header information - headers already sent by (output started at /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php:5974) in /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php on line 6221

Warning : Cannot modify header information - headers already sent by (output started at /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php:5974) in /home3/bluetroop/tceq.bluetroop.com/wp-admin/includes/misc.php on line 1282

Warning : Cannot modify header information - headers already sent by (output started at /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php:5974) in /home3/bluetroop/tceq.bluetroop.com/wp-admin/admin-header.php on line 9

Warning : Cannot modify header information - headers already sent by (output started at /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php:5974) in /home3/bluetroop/tceq.bluetroop.com/wp-includes/option.php on line 961

Warning : Cannot modify header information - headers already sent by (output started at /home3/bluetroop/tceq.bluetroop.com/wp-includes/functions.php:5974) in /home3/bluetroop/tceq.bluetroop.com/wp-includes/option.php on line 962

Can you please take a look? More information to come…

Hi @bluetroop2,

It’s not just our theme that’s causes these errors, these are very known issue even with other plugins too.
This is because of PHP version 7+.

It’s recommended that you turn off the display of errors in your live site but keep a log of errors.
To do that, follow the debugging suggestion of WordPress here: https://wordpress.org/support/article/debugging-in-wordpress/

You can add the following code to your wp-config.php for debug setup.

// 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 will help you to edit wp-config.php and add the abive code : https://www.youtube.com/watch?v=3SDPTafEM8o

Hope it helps.

Thanks

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