Title: PHP Errors
Last modified: January 2, 2024

---

# PHP Errors

 *  Resolved [Richard_vc](https://wordpress.org/support/users/richard_vc/)
 * (@richard_vc)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-errors-310/)
 *  We have been picking up a number of errors from jet pack the code is below if
   anyone has any ideas that would be really helpful.
 *  It seems to be making the sights quiet unresponsive and we are getting several
   of these if anyone has any suggestions that would be really good.
 * 2023-12-18T12:13:38+00:00 CRITICAL Uncaught WpOrg\Requests\Exception\InvalidArgument:
   WpOrg\Requests\Cookie::__construct(): Argument #1 ($name) must be of type string,
   integer given in /var/www/html/wp-includes/Requests/src/Exception/InvalidArgument.
   php:29
   Stack trace: 0 /var/www/html/wp-includes/Requests/src/Cookie.php(84): 
   WpOrg\Requests\Exception\InvalidArgument::create(1, ‘$name’, ‘string’, ‘integer’)
   1 /var/www/html/wp-includes/class-wp-http.php(472): WpOrg\Requests\Cookie->__construct(
   7, ”) 2 /var/www/html/wp-includes/class-wp-http.php(352): WP_Http::normalize_cookies(
   Array) 3 /var/www/html/wp-includes/class-wp-http.php(637): WP_Http->request(‘
   [https://www.fla…&#8217](https://www.fla…&#8217);, Array) 4 /var/www/html/wp-
   includes/http.php(168): WP_Http->get(‘[https://www.fla…&#8217](https://www.fla…&#8217);,
   Array) 5 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-
   sync/src/class-dedicated-sender.php(204): wp_remote_get(‘[https://www.fla…&#8217](https://www.fla…&#8217);,
   Array) 6 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-
   sync/src/class-sender.php(408): Automatti in /var/www/html/wp-includes/Requests/
   src/Exception/InvalidArgument.php on line 29
 * .
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-310%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [lastsplash (a11n)](https://wordpress.org/support/users/lastsplash/)
 * (@lastsplash)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-errors-310/#post-17340875)
 * Hi [@richard_vc](https://wordpress.org/support/users/richard_vc/) –
 * Thank you so much for patiently waiting for a response!
 * Looking at this, I see the error was from almost a month ago. Could you please
   begin by uninstalling and reinstalling Jetpack? This will ensure that you are
   running the latest version of Jetpack (now v13.0).
 * If you still continue to see errors, please try with all plugins other than Jetpack
   disabled. If you no longer get errors, you will know that the issue is with one
   of your other plugins. In that case, please activate your plugins one at a time
   until you discover the one that is causing the issue.

Viewing 1 replies (of 1 total)

The topic ‘PHP Errors’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)

 * 1 reply
 * 2 participants
 * Last reply from: [lastsplash (a11n)](https://wordpress.org/support/users/lastsplash/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/php-errors-310/#post-17340875)
 * Status: resolved