Updated Jetpack to latest version now errors
-
Everything had been working fine until the latest update. I’m now getting random 500 errors when trying to log into wpadmin on my site. I also get this error when I try to create a new post.
Fatal error: Uncaught TypeError: Argument 1 passed to Requests_Cookie_Jar::register() must be an instance of Requests_Hooker, instance of Requests_Hooks given, called in /home/ridestok/public_html/wp-includes/class-requests.php on line 592 and defined in /home/ridestok/public_html/wp-includes/Requests/Cookie/Jar.php:120 Stack trace: #0 /home/ridestok/public_html/wp-includes/class-requests.php(592): Requests_Cookie_Jar->register(Object(Requests_Hooks)) #1 /home/ridestok/public_html/wp-includes/class-requests.php(363): Requests::set_defaults(‘https://jetpack…’, Array, ‘<?xml version=”…’, ‘POST’, Array) #2 /home/ridestok/public_html/wp-includes/class-http.php(369): Requests::request(‘https://jetpack…’, Array, ‘<?xml version=”…’, ‘POST’, Array) #3 /home/ridestok/public_html/wp-includes/http.php(153): WP_Http->request(‘https://jetpack…’, Array) #4 /home/ridestok/public_html/wp-content/plugins/jetpack/class.jetpack-client.php(187): wp_remote_request(‘https://jetpack…’, Array) #5 /home/ridestok/public_html/wp-content in /home/ridestok/public_html/wp-includes/Requests/Cookie/Jar.php on line 120
-
Thanks for the report, and sorry for the trouble!
Could you tell me more about your WordPress installation, and the plugins you use, so I can try to reproduce?
Do you use any security plugins that may restrict or filter some of the requests made from your site? Do you run the latest version of WordPress?
Yes we are running the latest wordpress. The only security plugin we use is “stop spam comments”. Below is list of all of them. What is interesting is the error doesn’t happen until I connect jetpack and then try to create a new post. The browser will also display random 500 errors on the homepage or other URLs.
ARVE Advanced Responsive Video Embedder
Deactivate | Edit
Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.Version 7.9.8 | By Nicolas Jonas | View details
Select Attachments
Attachments
Extend | Settings | Deactivate | Edit
Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post TypesVersion 3.5.7 | By Jonathan Christopher | View details
Select bbPress
bbPress
Activate | Edit | Delete
bbPress is forum software with a twist from the creators of WordPress.Version 2.5.11 | By The bbPress Community | View details
Select Constellation Menu
Constellation Menu
Deactivate | Edit
Powerfull Mega menu plugin that’s crafted especially for Goliath WordPress Theme.Version 1.0.3 | By Planetshine
Select Contact Form 7
Contact Form 7
Settings | Deactivate | Edit
Just another contact form plugin. Simple but flexible.Version 4.5.1 | By Takayuki Miyoshi | View details
Select Heartbeat Control
Heartbeat Control
Deactivate | Edit
Completely controls the WordPress heartbeat.Version 1.0.3 | By Jeff Matson | View details
Select Jetpack by WordPress.com
Jetpack by WordPress.com
Jetpack | Deactivate | Edit
Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.Version 4.4.1 | By Automattic | View details
Select Regenerate Thumbnails
Regenerate Thumbnails
Deactivate | Edit
Allows you to regenerate all thumbnails after changing the thumbnail sizes.Version 2.2.6 | By Alex Mills (Viper007Bond) | View details
Select Reveal IDs
Reveal IDs
Deactivate | Edit
Reveals hidden IDs in Admin interface that have been removed with WordPress 2.5 (formerly known as Entry IDs in Manage Posts/Pages View for WP 2.5). See options page for information.Version 1.4.6.2 | By Oliver Schl?be | View details
Select RideStoke Google Analytics Plugin
RideStoke Google Analytics Plugin
Deactivate | Edit
Adds a Google analytics tracking code to the of your theme, by hooking to wp_head.Version 1.0 | By RideStoke LLC | Visit plugin site
Select SG CachePress
SG CachePress
Deactivate | Edit
Through the settings of this plugin you can manage how your WordPress interracts with NGINX and Memcached.Version 2.3.11 | By SiteGround | View details
Select Shortcake (Shortcode UI)
Shortcake (Shortcode UI)
Deactivate | Edit
User Interface for adding shortcodes.Version 0.7.0 | By Fusion Engineering and community | View details
Select Slider Revolution
Slider Revolution
Deactivate | Edit
Slider Revolution – Premium responsive sliderVersion 5.3.0.2 | By ThemePunch | Visit plugin site
Activate Slider Revolution for Premium Benefits (e.g. Live Updates).
Select Stop Spam Comments
Stop Spam Comments
Deactivate | Edit
Dead simple and super lightweight anti-spambot plugin. No captcha, tricky questions or any other user interaction required at all.Version 0.2.1.2 | By Pino Ceniccola | View details
Select TinyMCE Advanced
TinyMCE Advanced
Settings | Deactivate | Edit
Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.Version 4.4.1 | By Andrew Ozz | View details
Select Widget Logic
Widget Logic
Deactivate | Edit | Charity Donation
Control widgets with WP’s conditional tags is_home etcVersion 0.57 | By Alan Trewartha | View details
Select WooCommerce
WooCommerce
Settings | Deactivate | Edit
An e-commerce toolkit that helps you sell anything. Beautifully.Version 2.6.8 | By WooThemes | View details | Docs | API Docs | Premium Support
Select WordPress Popular Posts
WordPress Popular Posts
Deactivate | Edit | Settings
WordPress Popular Posts is a highly customizable widget that displays the most popular posts on your blogVersion 3.3.4 | By Hector Cabrera | View details
Select WP CDN Rewrite
WP CDN Rewrite
Deactivate | Edit
Rewrites asset URLs to CDNVersion 0.4.0 | By Chris Scott, Michael Pretty, Kevin Langley, Sean McCafferty | View details
Select WP Media folder
WP Media folder
Deactivate | Edit
WP media Folder is a WordPress plugin that enhance the WordPress media manager by adding a folder manager inside.Version 3.8.2 | By Joomunited | View details | Check for updates
Your subscription is outdated , please get a new subscription on our website Go to Joomunited
There is a new version of WP Media folder available. View version 3.8.5 details or update now.
Select WP Pro Ad System
WP Pro Ad System
Deactivate | Edit
Plugin to manage advertisements on your website. Beautifully, Easily and Professional.Version 4.7.3 | By Tunafish | Visit plugin site
Select WP Smush
WP Smush
Settings | Deactivate | Edit
Reduce image file sizes, improve performance and boost your SEO using the free WPMU DEV WordPress Smush API.Version 2.5.2 | By WPMU DEV | View details
Select WPBakery Visual Composer
WPBakery Visual Composer
Settings | Deactivate | Edit
Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required.Version 5.0 | By Michael M – WPBakery.com | View details
There is a new version of WPBakery Visual Composer available. View version 5.0.1 details. Automatic update is unavailable for this plugin. To receive automatic updates license activation is required. Please visit settings to activate your Visual Composer. Got Visual Composer in theme?
Select Yoast SEO Premium
Yoast SEO Premium
Settings | Deactivate | Edit
The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.Version 3.8 | By Team Yoast | Visit plugin site
Thanks for the extra details.
Could you let me know if the problem disappears when deactivating Heartbeat Control?
That does not correct the issue. Siteground says this is being caused because of a conflict with php7 and jetpack. They had to use php5.6 in order for it to work correctly. Does Jetpack support php7?
That’s weird. Jetpack does support PHP 7. I happen to use PHP 7 on my personal site, for example. Did Siteground give you any more details about the conflict? Could you ask them for more information, or ask them to contact us directly if they’d like?
Thanks!
@ridestoke, my name is Ivan Stefanov and I’m one of Senior Technical Support Engineers at SiteGround. Could you please share your Ticket ID and I’ll check your conversation with my colleagues further and investigate the case thoroughly one more time.
I’m also using Jetpack with PHP7 for my personal website on SiteGround and that’s why I guarantee you that with a plain WordPress installation + Jetpack + PHP7 there isn’t any issues.
Looking forward to you reply!
Ivan, thanks for responding. The Ticket is 1989533. You can contact me via the ticket and I will respond under my account at siteground.
@ridestoke, thank you for the cooperation! I managed to determine the exact culprit for your issue, which isn’t by any means related to the Jetpack compatibility with PHP7 as I suspected, and your support ticket at SiteGround was updated with more info.
Ivan, I thought more about this and the problem didn’t start until we recently updated jetpack.
Hi Ivan,
I have the same problem, and the SiteGround support suggest me to check with JetPack. Would you please check my ticket 2019392Regards,
@jeherve, we will be very thankful if you are able to join into this conversation as it appeared that Jetpack is experiencing compatibility issues (or at least with the default opcache settings) when setup to work with PHP 7.1.
This issue was reproduced on a plain WP install as well as on the @zomidaily site, too.
Here is the strace of my personal site:
6851 14716 unlink("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71/wp-content/plugins/jetpack/modules/related-posts/jetpack-related-post s.php.bin") = 0 6852 14716 stat("/home/ivanstef/public_html/wpphp71/wp-content/plugins/jetpack/modules/related-posts/jetpack-related-posts.php", {st_mode=S_IFREG|0644, st_size=42917, ...}) = 0 6853 14716 mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4eb0800000 6854 14716 munmap(0x7f4eb0800000, 2097152) = 0 6855 14716 fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0 6856 14716 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0 6857 14716 mkdir("/home/ivanstef/.opcache", 0700) = -1 EEXIST (File exists) 6858 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a", 0700) = -1 EEXIST (File exists) 6859 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home", 0700) = -1 EEXIST (File exists) 6860 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef", 0700) = -1 EEXIST (File exists) 6861 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html", 0700) = -1 EEXIST (File exists) 6862 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71", 0700) = -1 EEXIST (File exists) 6863 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71/wp-content", 0700) = -1 EEXIST (File exists) 6864 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71/wp-content/plugins", 0700) = -1 EEXIST (File exists) 6865 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71/wp-content/plugins/jetpack", 0700) = -1 EEXIST (File exists) 6866 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71/wp-content/plugins/jetpack/modules", 0700) = -1 EEXIST (File exists) 6867 14716 mkdir("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71/wp-content/plugins/jetpack/modules/related-posts", 0700) = -1 EEXIST ( File exists) 6868 14716 open("/home/ivanstef/.opcache/89683bd16d8b1548698d49eab705558a/home/ivanstef/public_html/wpphp71/wp-content/plugins/jetpack/modules/related-posts/jetpack-related-posts. php.bin", O_RDWR|O_CREAT|O_EXCL, 0600) = 6 6869 14716 flock(6, LOCK_EX) = 0 6870 14716 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
If we can be of any further assistance regarding this matter, you can directly contact me at [email protected]
@iv3rson76 Thanks for the extra details! I’ll run some tests and get back to you.
Ivan and Jeremy,
We still have problems on our live site when I enable php7. I thought it might have been other plugins but now that I see this I’m wondering if it isn’t jetpack causing the compatibility issues. If you want to take a look at the site I’m happy to arrange it.@ridestoke It appears that Ivan may have found a compatibility issue between Jetpack and PHP 7.1. We’re looking into this right now and I’ll post again here as soon as we get this fixed!
@jeherve, can we change the status of this thread as “[Resolved]” flag might be misleading. Thank you!
- The topic ‘Updated Jetpack to latest version now errors’ is closed to new replies.