520 Error - X Errors

Hi. We’re getting a consistent 520 error when I try to move between posts, pages or take action on plugins.

My tech support has looked at host, Cloudflare and ran several reports.

Errors appear to be related to X:

Notice: Undefined index: post in /home/346958.cloudwaysapps.com/pkcdcjbcuq/public_html/wp-content/plugins/wp-templates-edit-with-cornerstone-button/index-edit-with-cornerstone.php on line 15

Notice: Undefined index: post_type in /home/346958.cloudwaysapps.com/pkcdcjbcuq/public_html/wp-content/plugins/wp-templates-edit-with-cornerstone-button/index-edit-with-cornerstone.php on line 16

Notice: Undefined variable: allow_edit_cornerstone in /home/346958.cloudwaysapps.com/pkcdcjbcuq/public_html/wp-content/plugins/wp-templates-edit-with-cornerstone-button/index-edit-with-cornerstone.php on line 23

Can you help resolve?

Many thanks
Gemma

Hi Gemma,

Thanks for reaching out.

There are a few possible reasons for the issue and can help after having the exact errors.
Please add the below-given code into your wp-config.php for debug setup, and the error logged into the file name debug.log inside the wp-content folder.
You can let us know if you find any error that is 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 will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o

Hope it helps.
Thanks

Hi. Tech did this. The only errors are the ones shared above:

Notice: Undefined index: post in /home/346958.cloudwaysapps.com/pkcdcjbcuq/public_html/wp-content/plugins/wp-templates-edit-with-cornerstone-button/index-edit-with-cornerstone.php on line 15

Notice: Undefined index: post_type in /home/346958.cloudwaysapps.com/pkcdcjbcuq/public_html/wp-content/plugins/wp-templates-edit-with-cornerstone-button/index-edit-with-cornerstone.php on line 16

Notice: Undefined variable: allow_edit_cornerstone in /home/346958.cloudwaysapps.com/pkcdcjbcuq/public_html/wp-content/plugins/wp-templates-edit-with-cornerstone-button/index-edit-with-cornerstone.php on line 23

Thanks
Gemma

Hi Gemma,

It seems that the plugin mentioned in the Notice may be the cause of the error. The plugin wp-templates-edit-with-cornerstone-button is a 3rd party plugin and you need to contact the plugin developer to get help on this.
Please find the list of theme bundled extensions, third party extensions, and supported extension list below:

  1. Themeco Extension: https://theme.co/docs/version-compatibility#themeco-extensions
  2. Third-Party Extension: https://theme.co/docs/version-compatibility#third-party-extensions
  3. Supported Third-Party Plugins: https://theme.co/docs/version-compatibility#supported-third-party-plugins

Thanks

Plugin? Cornerstone is X theme. Cornerstone button is mentioned in all three.

Cloudways is my host.

My tech has asked me to contact you to let you know that the three errors causing 520 are related to X.

Hi Gemma,

It’s true that the Cornerstone is a X theme plugin, but the notice comes from the plugin named wp-templates-edit-with-cornerstone-button. Cornerstone plugin path is wp-content/plugins/cornerstone whereas the other one is coming from wp-content/plugins/wp-templates-edit-with-cornerstone-button, it proofs that these two are different plugins.

Thanks

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