“An error occurred while connecting to the REST API” and 502 error?
-
Hi, I’m also getting this error.
I get the error message after clicking “regenerate all” and waiting a few minutes.
I have enabled debugging and a log. Here is what I got, but only after clicking around a bit to find stuff (nothing seems related to this issue):
[27-Dec-2019 04:29:24 UTC] auditor:scan=fingerprint {"blog_id":1,"kind":"wp-core","name":"wp-includes","slug":"wp-includes","ver":"5.3.2","sig":"v1:d80eb76406db22a7950537a3597560826b22e4044276f5f1036bc77f9492a2b6"} [27-Dec-2019 04:29:25 UTC] auditor:scan=fingerprint {"blog_id":1,"kind":"wp-core","name":"wp-admin","slug":"wp-admin","ver":"5.3.2","sig":"v1:08cc10a8bd794092fb44bffd7e96aadfc8a0f7ed55fd712011c5c1ad2ca3d04d"} [27-Dec-2019 04:30:08 UTC] PHP Notice: genesis_footer_creds_text is <strong>deprecated</strong> since version 3.1.0! Use genesis_pre_get_option_footer_text instead. This filter is no longer supported. You can now modify your footer text using the Theme Settings. in /nas/content/live/installname/wp-includes/functions.php on line 4924 [27-Dec-2019 04:30:10 UTC] PHP Notice: Undefined variable: verToAppend in /nas/content/live/installname/wp-content/plugins/wp-asset-clean-up/templates/meta-box-loaded-assets/_asset-style-single-row/_source.php on line 64 [27-Dec-2019 04:30:10 UTC] PHP Notice: Undefined variable: verToAppend in /nas/content/live/installname/wp-content/plugins/wp-asset-clean-up/templates/meta-box-loaded-assets/_asset-script-single-row/_source.php on line 41 [27-Dec-2019 04:32:40 UTC] PHP Notice: Trying to get property 'post_title' of non-object in /nas/content/live/installname/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 297 [27-Dec-2019 04:32:40 UTC] PHP Notice: genesis_footer_creds_text is <strong>deprecated</strong> since version 3.1.0! Use genesis_pre_get_option_footer_text instead. This filter is no longer supported. You can now modify your footer text using the Theme Settings. in /nas/content/live/installname/wp-includes/functions.php on line 4924
Screenshot of the Chrome Console: https://cloudup.com/cUBtFK6u_Ec
Apparently hitting a 502 error?
Text of the Console messages after getting the error message from your plugin:
JQMIGRATE: Migrate is installed, version 1.4.1 load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,underscore,wp-util&ver=5.3.2:8 Failed to load resource: the server responded with a status of 502 () paths:1
This is a development site on WP Engine, designed to mimic ‘live’ sites (i.e. not their legacy staging sites).
Plugins, themes and WP are all up to date.
I do have an optimization plugin installed, but I checked to ensure REST API is not turned off.
See screenshots to show they are not turning off REST API:
https://cloudup.com/chz1Tb25QJY (WP Disable)
https://cloudup.com/cL5AwsRi9eM (Asset Clean Up)Can you help? This seems like a promising plugin (I looked… most others have some very very bad and scary reviews, which deterred me, until I found this one). Anyway, I’m really hoping it can work!
- The topic ‘“An error occurred while connecting to the REST API” and 502 error?’ is closed to new replies.