Extra Sidebar Widgets not working
-
Hi, I have the latest version of this plugin but still im unable to activate the extra widgets, whenever I click to activate I get “Extra Sidebar Widgets failed to activate. SyntaxError: Unexpected token < in JSON at position 0”
How can I fix this?
-
Could you let me know what other plugins are currently active on your site?
Could you also try the following:
- Open the dashboard page.
- Open your browser console
- Click on the Network tab
- Refresh the page.
- Try to activate a module
- If you see any lines in red inside the browser console, click on them. A new panel should appear on the right.
- Click on the “Response” tab in that new panel.
- Copy the message displayed there.
- Paste it here.
- If no red lines appeared in the browser console, click on the “Console” tab of the browser console.
- Copy any errors displayed there, and paste them here.
Thanks!
Dear Jeremy, wordpress support system does not allow me to paste the content of the console, where can I contact you?
It seems that the plugin is searching for some file in root folder of the site, but my wordpress installation is in a subfolder
ie:
https://www.cookingwithpeachy.com/wp-json/jetpack/v4/settings/ 404 (Not Found)
https://www.cookingwithpeachy.com/wp-json/jetpack/v4/site/ 404 (Not Found)
https://www.cookingwithpeachy.com/wp-json/jetpack/v4/connection/url/ 404 (Not Found)My root folder is https://www.cookingwithpeachy.com/wordpress/
-
This reply was modified 8 years, 3 months ago by
davidebabylonia.
This is what I get
admin.js?ver=4.4.1:9 GET https://www.cookingwithpeachy.com/wp-json/jetpack/v4/connection/url/ 404 (Not Found)fetchConnectUrl @ admin.js?ver=4.4.1:9(anonymous function) @ admin.js?ver=4.4.1:19(anonymous function) @ admin.js?ver=4.4.1:8(anonymous function) @ admin.js?ver=4.4.1:5value @ admin.js?ver=4.4.1:24mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountChildren @ admin.js?ver=4.4.1:4_createContentMarkup @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountChildren @ admin.js?ver=4.4.1:4_createContentMarkup @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:2mountChildren @ admin.js?ver=4.4.1:4_createContentMarkup @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountChildren @ admin.js?ver=4.4.1:4_createContentMarkup @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:3mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2mountComponent @ admin.js?ver=4.4.1:2m @ admin.js?ver=4.4.1:1perform @ admin.js?ver=4.4.1:2M @ admin.js?ver=4.4.1:1perform @ admin.js?ver=4.4.1:2batchedUpdates @ admin.js?ver=4.4.1:3o @ admin.js?ver=4.4.1:2_renderNewRootComponent @ admin.js?ver=4.4.1:1_renderSubtreeIntoContainer @ admin.js?ver=4.4.1:1render @ admin.js?ver=4.4.1:1a @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1t @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1 admin.js?ver=4.4.1:9 GET https://www.cookingwithpeachy.com/wp-json/jetpack/v4/site/ 404 (Not Found)fetchSiteData @ admin.js?ver=4.4.1:9(anonymous function) @ admin.js?ver=4.4.1:19(anonymous function) @ admin.js?ver=4.4.1:8fetchSiteData @ admin.js?ver=4.4.1:29componentDidMount @ admin.js?ver=4.4.1:29notifyAll @ admin.js?ver=4.4.1:2close @ admin.js?ver=4.4.1:4closeAll @ admin.js?ver=4.4.1:2perform @ admin.js?ver=4.4.1:2M @ admin.js?ver=4.4.1:1perform @ admin.js?ver=4.4.1:2batchedUpdates @ admin.js?ver=4.4.1:3o @ admin.js?ver=4.4.1:2_renderNewRootComponent @ admin.js?ver=4.4.1:1_renderSubtreeIntoContainer @ admin.js?ver=4.4.1:1render @ admin.js?ver=4.4.1:1a @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1t @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1 admin.js?ver=4.4.1:9 GET https://www.cookingwithpeachy.com/wp-json/jetpack/v4/settings/ 404 (Not Found)fetchSettings @ admin.js?ver=4.4.1:9(anonymous function) @ admin.js?ver=4.4.1:19(anonymous function) @ admin.js?ver=4.4.1:8fetchSettings @ admin.js?ver=4.4.1:31componentDidMount @ admin.js?ver=4.4.1:31notifyAll @ admin.js?ver=4.4.1:2close @ admin.js?ver=4.4.1:4closeAll @ admin.js?ver=4.4.1:2perform @ admin.js?ver=4.4.1:2M @ admin.js?ver=4.4.1:1perform @ admin.js?ver=4.4.1:2batchedUpdates @ admin.js?ver=4.4.1:3o @ admin.js?ver=4.4.1:2_renderNewRootComponent @ admin.js?ver=4.4.1:1_renderSubtreeIntoContainer @ admin.js?ver=4.4.1:1render @ admin.js?ver=4.4.1:1a @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1t @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1(anonymous function) @ admin.js?ver=4.4.1:1 admin.js?ver=4.4.1:9 GET https://www.cookingwithpeachy.com/wp-json/jetpack/v4/settings/ 404 (Not Found)
-
This reply was modified 8 years, 3 months ago by
Steven Stern (sterndata). Reason: put code in backticks
Your large pastes are getting caught in the spam filters. Please use a pasting service like pastebin.com or gist.github.com to paste your content, then paste the link here.
It seems that the plugin is searching for some file in root folder of the site, but my wordpress installation is in a subfolder
Could you tell me more about your site setup? When going to your site, I’m redirected to https://www.cookingwithpeachy.com/wordpress/
What are the 2 different URLs you’ve set under Settings > General in your dashboard?
It’s also worth noting that your site’s XML-RPC file, that Jetpack uses to communicate with WordPress.com, is inaccessible right now:
https://www.cookingwithpeachy.com/wordpress/xmlrpc.phpIf you use a security plugin to block access to the file, you’ll need to configure it to allow incoming and outgoing connections to /xmlrpc.php.
If you do not use such plugin, you’ll want to contact your hosting provider and ask them if they currently block access to your site’s XML-RPC file.
I hope this helps.
Thank you for the instruction on how to paste the data, here the link: https://pastebin.com/TQb1k5dE
The redirection is right, both fields site and wordpress installation address are https://www.cookingwithpeachy.com/wordpress without the last trailing slash
About XML-RPC, there was a protection (now removed) in my .htaccess, no matter this, I still have same errors from jetpack
Could you try to deactivate each one of your plugins, one at a time, and let me know if you find a plugin that appears to be conflicting with Jetpack and stopping you from enabling modules?
Thanks!
Hi Jeremy,
COMET CACHE PRO it’s the problem, after deactivating, the widget module can be activated with no errors
Excellent! Could you get in touch with the plugin authors and ask them to take a look and make sure their plugin is compatible with the WP REST API, that will be included in all WordPress installations in a few weeks, with WordPress 4.7:
Once their plugin is compatible, you should be able to activate it again.
Thanks for the heads up on this thread. I’m one of the Comet Cache developers and we are opening an issue about this so we can investigate and find the underlying cause: https://github.com/websharks/comet-cache/issues/855
-
This reply was modified 8 years, 3 months ago by
JasWSInc.
@jaswsinc Thanks for jumping in! I’ll reply in the GitHub issue with all the info I gathered from this thread. Hopefully this can help you!
- The topic ‘Extra Sidebar Widgets not working’ is closed to new replies.