@fadedbeauty @fabianyag @nicklappage
Here’s an update about where we are with this…
We’re not sure exactly why the error is happening, but it’s happening during a request to the WordPress plugin repository API, and the call is not getting a valid response. As I say, we don’t exactly know why that’s happening. But it’s not happening for everyone so we think it may be DNS or router related.
There’s no reason why a failed request to the plugin repository API should output an error message, so we’re going to change the code so that it just quietly logs the error and moves on.
Open the ‘extensions/plugin-installer/object.php‘ file and on line 130 and line 143 (or thereabouts) you’ll see the following line of code…
echo '<div class="error"><p>' . __( 'An error has occurred', 'runway' ) . '</p></div>';
Change both of those lines to this…
// echo '<div class="error"><p>' . __( 'An error has occurred', 'runway' ) . '</p></div>';
new WP_Error( 'plugin_installer_request_fail', __( "An error occurred contacting the WordPress plugin repository API.", "runway" ) );
Save and upload.
Please let me know if you still have this problem after making the above changes.
I’ll be putting together a theme update later today or tomorrow.