Unable to connect to WordPress.com
-
Hello,
As the title says, I am unable to connect to WordPress.com through Jetpack; therefore, I’m not getting any stats and no longer have access to the custom widgets. Any time I try and connect, I get this message:
500 Internal Server Error || The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
This just happened randomly today; I noticed I didn’t have any stats so I tried to reconnect and then this started happening. I even tried uninstalling and reinstalling the plugin, but I still get the same error message. Any help would be greatly appreciated, thank you!
-
Could you add the following to your site’s wp-config.php file?
define( 'WP_DEBUG', true ); if ( WP_DEBUG ) { @error_reporting( E_ALL ); @ini_set( 'log_errors', true ); @ini_set( 'log_errors_max_len', '0' ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'CONCATENATE_SCRIPTS', false ); define( 'SAVEQUERIES', true ); }
Your
wp-config.php
file may already include a line that says “define(‘WP_DEBUG’, false);”. You can remove it, and replace it by the code above.Once you’ve done so, try to recreate the error again, and then check the
wp-content/debug.log
file for errors. You can paste the results here. You can then replacedefine('WP_DEBUG', true);
bydefine('WP_DEBUG', false);
in the code above.Thanks!
Hello,
I placed this code as mentioned, however there is no
wp-content/debug.log
file. I read this may be because there aren’t any errors or (more likely for this situation) write access isn’t granted for the directory… any thoughts?Thanks for the reply!
Got it to show up, here is the debug.log file contents:
[07-Mar-2017 19:42:21 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_flowers_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:21 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_concentrates_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:21 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_edibles_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:21 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_prerolls_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:21 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_topicals_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:21 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_growers_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:22 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_flowers_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:22 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_concentrates_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:22 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_edibles_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:22 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_prerolls_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:22 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_topicals_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:22 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_growers_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:29 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_flowers_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:29 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_concentrates_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:29 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_edibles_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:29 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_prerolls_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:29 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_topicals_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:29 UTC] PHP Notice: The called constructor method for WP_Widget in wpdispensary_growers_widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-includes/functions.php on line 3892 [07-Mar-2017 19:42:29 UTC] PHP Fatal error: Call to undefined function register_api_field() in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-content/plugins/wp-dispensary/admin/wp-dispensary-rest-api.php on line 279
Looks like a different plugin is causing a conflict? Hope that helps, thanks!
-
This reply was modified 8 years ago by
hmhdz. Reason: Added comment
[07-Mar-2017 19:42:29 UTC] PHP Fatal error: Call to undefined function register_api_field() in /hermes/bosnaweb20a/b1341/ipg.kayainfusionscom/wp-content/plugins/wp-dispensary/admin/wp-dispensary-rest-api.php on line 279
The problem does indeed seem to be caused by another plugin on your site, WP Dispensary. I’ve just created a patch and submitted it to the plugin author, so they can review it and include it in the next version of their plugin:
https://github.com/deviodigital/wp-dispensary/pull/6If you feel comfortable editing PHP files on your own, you can apply the above patch to your WP Dispensary installation and it should solve the issue.
I hope this helps.
The problem does indeed seem to be caused by another plugin on your site, WP Dispensary. I’ve just created a patch and submitted it to the plugin author, so they can review it and include it in the next version of their plugin:
https://github.com/deviodigital/wp-dispensary/pull/6If you feel comfortable editing PHP files on your own, you can apply the above patch to your WP Dispensary installation and it should solve the issue.
I hope this helps.
Yup, I edited the PHP files and everything seems back to normal. Thanks so much!! ??
Well. It appears that Jetpack has spent its last breath. I have two brand-new sites and it doesn’t work on either of them. Patch this, edit that, check this, post this, let me see that… Let’s clarify: This bug is not a “plugin conflict”. Blaming other plugins is weak – at best.
Whatever. The topic is boring. Moving on along with plugins that will handily replace it.
<shrug> How many hours does one have to struggle let alone how many humans have trot on down this bunny trail before the plugin gets pulled off the proverbial shelf and tossed?
@thefruitfly Sorry to hear you’re running into issues with Jetpack.
Do you also use the WP Dispensary plugin, like @hmhdz above? If so, you’ll want to update to the most recent version, 1.9.6.1. The plugin author was quick to merge the patch I submitted to solve the issue above, and immediately released an update. See the changelog here.
If you do not use the WP Dispensary plugin, your problem is different from the one reported on this thread. Could you then start your own thread, as per the Forum Welcome?
https://www.ads-software.com/support/plugin/jetpack#new-postIt would be useful if you could let me know more about the problem and the errors you see so I can investigate and figure out what’s going on.
It would also help if you could let me your site URL in that new thread.
If you want it to remain private, you can also contact us via this contact form:
https://jetpack.com/contact-support/Thank you!
-
This reply was modified 8 years ago by
- The topic ‘Unable to connect to WordPress.com’ is closed to new replies.