Title: Website debug php warning for coblocks
Last modified: November 17, 2019

---

# Website debug php warning for coblocks

 *  Resolved [carleen712](https://wordpress.org/support/users/carleen712/)
 * (@carleen712)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/website-debug-php-warning-for-coblocks-2/)
 * I keep getting a random 503 error on my website, so following advice from godaddy
   I have enabled the debug.log
    Im using the Godaddy “Stout” theme with coblocks.
   I also have 2 other plugins both of which I have tried deactivating to fix the
   problem (Blog designer by Solwin Infotech and Godaddy’s Contact Widgets)
 * The error happened again today but there’s nothing in the log for today, however,
   2 days ago it reported this – could this be related to the 503 error and how 
   do I fix it?
    Godaddy support has referred me here.
 * The 503 error is not consistent or easy to reproduce so I dont know if this is
   unrelated.
    Any help is very much appreciated as I am out of my depth trying 
   to fix this.
 * 15-Nov-2019 10:25:14 UTC] PHP Warning: include(/var/www/wp-content/plugins/coblocks/
   src/blocks/post-carousel/block.json): failed to open stream: No such file or 
   directory in /var/www/wp-content/plugins/coblocks/src/blocks/post-carousel/index.
   php on line 332
    [15-Nov-2019 10:25:14 UTC] PHP Warning: include(): Failed opening‘/
   var/www/wp-content/plugins/coblocks/src/blocks/post-carousel/block.json’ for 
   inclusion (include_path=’.:/opt/remi/php72/root/usr/share/pear:/opt/remi/php72/
   root/usr/share/php:/usr/share/pear:/usr/share/php’) in /var/www/wp-content/plugins/
   coblocks/src/blocks/post-carousel/index.php on line 332 [15-Nov-2019 10:25:14
   UTC] PHP Warning: include(/var/www/wp-content/plugins/coblocks/src/blocks/posts/
   block.json): failed to open stream: No such file or directory in /var/www/wp-
   content/plugins/coblocks/src/blocks/posts/index.php on line 343 [15-Nov-2019 
   10:25:14 UTC] PHP Warning: include(): Failed opening ‘/var/www/wp-content/plugins/
   coblocks/src/blocks/posts/block.json’ for inclusion (include_path=’.:/opt/remi/
   php72/root/usr/share/pear:/opt/remi/php72/root/usr/share/php:/usr/share/pear:/
   usr/share/php’) in /var/www/wp-content/plugins/coblocks/src/blocks/posts/index.
   php on line 343 [15-Nov-2019 10:25:14 UTC] PHP Warning: include(/var/www/wp-content/
   plugins/coblocks/src/blocks/share/block.json): failed to open stream: No such
   file or directory in /var/www/wp-content/plugins/coblocks/src/blocks/share/index.
   php on line 248 [15-Nov-2019 10:25:14 UTC] PHP Warning: include(): Failed opening‘/
   var/www/wp-content/plugins/coblocks/src/blocks/share/block.json’ for inclusion(
   include_path=’.:/opt/remi/php72/root/usr/share/pear:/opt/remi/php72/root/usr/
   share/php:/usr/share/pear:/usr/share/php’) in /var/www/wp-content/plugins/coblocks/
   src/blocks/share/index.php on line 248 [15-Nov-2019 10:25:14 UTC] PHP Warning:
   include(/var/www/wp-content/plugins/coblocks/src/blocks/social-profiles/block.
   json): failed to open stream: No such file or directory in /var/www/wp-content/
   plugins/coblocks/src/blocks/social-profiles/index.php on line 184 [15-Nov-2019
   10:25:14 UTC] PHP Warning: include(): Failed opening ‘/var/www/wp-content/plugins/
   coblocks/src/blocks/social-profiles/block.json’ for inclusion (include_path=’.:/
   opt/remi/php72/root/usr/share/pear:/opt/remi/php72/root/usr/share/php:/usr/share/
   pear:/usr/share/php’) in /var/www/wp-content/plugins/coblocks/src/blocks/social-
   profiles/index.php on line 184
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwebsite-debug-php-warning-for-coblocks-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Anthony Ledesma](https://wordpress.org/support/users/paranoia1906/)
 * (@paranoia1906)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/website-debug-php-warning-for-coblocks-2/#post-12146749)
 * Hi [@carleen712](https://wordpress.org/support/users/carleen712/),
 * Thanks for reaching out to us here in regards to this debug.log. The log file
   that you are posting here is giving PHP warnings about missing a file called ‘
   block.json’. Our development team has released a new version of CoBlocks which
   resolves this issue. Please ensure you are running the latest version of CoBlocks–
   1.17.2.
 * In regards to the intermittent 503 errors you are receiving, the error code (
   503) indicates unavailability of resources for the hosting server. Generally 
   speaking there are two causes with errors like these. Either content of the site
   has outgrown the hosting environment (not likely unless you have a large site/
   e-commerce) or that your site may require optimization. You might, for example,
   have large quantities of comment spam stored within your MySQL database which
   can cause errors like this. This is just one example of many, many possible scenarios
   which can cause intermittent 503 errors.
 * First things first, ensure you are running the latest versions of CoBlocks and
   WordPress. Please be sure to take regular backups of your website. If you run
   into more errors from CoBlocks please let us know here.
 * Best regards,
 * Anthony
 *  Thread Starter [carleen712](https://wordpress.org/support/users/carleen712/)
 * (@carleen712)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/website-debug-php-warning-for-coblocks-2/#post-12151635)
 * Many thanks Anthony – I have updated the plugin and Ill let you know if there
   any other problems.
    Ill have a look at what I can tidy up and optimise for the
   503 error too 🙂
 * Carleen

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Website debug php warning for coblocks’ is closed to new replies.

 * ![](https://ps.w.org/coblocks/assets/icon-256x256.jpg?rev=2243972)
 * [Page Builder Gutenberg Blocks – CoBlocks](https://wordpress.org/plugins/coblocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/coblocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/coblocks/)
 * [Active Topics](https://wordpress.org/support/plugin/coblocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/coblocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/coblocks/reviews/)

## Tags

 * [503 error](https://wordpress.org/support/topic-tag/503-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [carleen712](https://wordpress.org/support/users/carleen712/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/website-debug-php-warning-for-coblocks-2/#post-12151635)
 * Status: resolved