Title: PHP error &#8220;array&#8221; &#8220;string&#8221; &#8220;null&#8221; ?
Last modified: January 26, 2021

---

# PHP error “array” “string” “null” ?

 *  Resolved [lukefive](https://wordpress.org/support/users/lukefive/)
 * (@lukefive)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-error-array-string-null/)
 * Recently installed Cloudinary in hope of improving page load. On our sitemap 
   page, it shows two errors? …
 *     ```
       Warning: array_keys() expects parameter 1 to be array, string given in /home/realizet/public_html/wp-content/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media/class-filter.php on line 210
   
       Warning: array_intersect(): Expected parameter 2 to be an array, null given in /home/realizet/public_html/wp-content/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media/class-filter.php on line 210
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-array-string-null%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Support [Victor @ Cloudinary](https://wordpress.org/support/users/victorcloudinary/)
 * (@victorcloudinary)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-13962031)
 * Hi there,
 * Thank you for contacting us.
 * In order to be able to further investigate the issue you’re experiencing, may
   I kindly ask you to provide me with the following details:
 * * WordPress version
    * Cloudinary Plugin’s version * The theme that you use and
   its version * A full list of all other plugins that you have installed on your
   environment * Page builders that you actively use
 * Once provided, we will take a deeper look into it on our end, trying to reproduce
   the issue to better understand the root cause for it.
 * In case it will be necessary, will you be willing to provide us with temporary
   access to a sandbox environment of your site where we can take a look and debug
   if needed?
 * Looking forward to your update.
 * Thanks,
    Victor
 *  Thread Starter [lukefive](https://wordpress.org/support/users/lukefive/)
 * (@lukefive)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-13986963)
 * [@victorcloudinary](https://wordpress.org/support/users/victorcloudinary/) thank
   you for responding. Here is the requested information …
 * * WordPress **5.6**
    * Cloudinary Plugin **2.5.0** * Theme OnePress **2.2.6***
   Page builders **NONE** * All plugins … Advanced Editor Tools (previously TinyMCE
   Advanced) Version 5.6.0
 * AMP
    Version 2.0.10 | By AMP Project Contributors
 * Better Search Replace
    Version 1.3.4 | By Delicious Brains
 * Breadcrumb NavXT
    Version 6.6.0 | By John Havlik
 * Classic Editor
    Version 1.6 | By WordPress Contributors
 * Cloudinary
    Version 2.5.0 | By Cloudinary Ltd., XWP | Visit plugin site
 * Disable Google Fonts
    Version 2.0 | By Milan Dinić
 * Disable Gutenberg
    Version 2.3 | By Jeff Starr | Homepage | Rate this plugin »
 * FileBird Lite
    Version 4.3.1 | By Ninja Team
 * GDPR Cookie Consent
    Version 1.9.5 | By WebToffee
 * Health Check & Troubleshooting
    Version 1.4.5 | By The WordPress.org community
 * Insert Headers and Footers
    Version 1.5.0 | By WPBeginner
 * Invisible reCaptcha
    Version 1.2.3 | By Mihai Chelaru
 * Ninja Forms
    Version 3.4.34 | By Saturday Drive
 * Redirection
    Version 5.0.1 | By John Godley
 * Schema & Structured Data for WP & AMP
    Version 1.9.61 | By Magazine3 | Technical
   Support
 * SG Optimizer
    Version 5.7.14 | By SiteGround
 * Telnumlinker
    Version 1.2 | By Stoatoffear
 * UpdraftPlus – Backup/Restore
    Version 1.16.47 | By UpdraftPlus.Com, DavidAnderson
 * Wordfence Security
    Version 7.4.14 | By Wordfence
 * WP Accessibility
    Version 1.7.6 | By Joe Dolson
 * WP Mail SMTP
    Version 2.5.1 | By WPForms
 * WP RSS Aggregator
    Version 4.17.10 | By RebelCode | Getting Started | Extensions
 * WP Sitemap Page
    Version 1.6.2 | By Tony Archambeau | Settings | Donate
 * WP-Optimize – Clean, Compress, Cache
    Version 3.1.6 | By David Anderson, Ruhani
   Rabin, Team Updraft
 * Yoast SEO
    Version 15.7
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-13992986)
 * Hi [@lukefive](https://wordpress.org/support/users/lukefive/),
 * Thanks for sharing those details.
 * We have opened a ticket internally in order to fix this issue and we will get
   back to you as soon as we have some updates to share.
 * Hope that makes sense.
    Best, Loic
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14041014)
 * Hi [@lukefive](https://wordpress.org/support/users/lukefive/),
 * Our development team is currently investigating the issue and they would like
   to get more details on the issue. Would you mind answering the following questions:
    - Is the sitemap that you mentioned generated by WP Sitemap Page, or Yoast?
    - If it is WP Sitemap Page, in the edit page, can you try to switch to the Text
      view and browse that page’s contents and see if you have a video shortcode
      like this: `[video]`? If this assumption is right, can you please confirm 
      you only see these warnings when saving the post and the page for the sitemap
      will not render?
 * Thanks in advance.
    Best, Loic
 *  Thread Starter [lukefive](https://wordpress.org/support/users/lukefive/)
 * (@lukefive)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14041612)
 * Let me start by apologizing for your time spent on this.
    We’ve had so many problems
   with Cloudinary, that the plugin is now removed. Since we need a full CDN not
   just for images, we will probably resume shopping around.
 * Thank you for your efforts to assist!
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14041634)
 * Hi [@lukefive](https://wordpress.org/support/users/lukefive/),
 * I am sorry to hear that.
 * We will be happy to assist you in case you decide to work with Cloudinary for
   future projects.
 * Best regards,
    Loic
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14058231)
 * Hi [@lukefive](https://wordpress.org/support/users/lukefive/),
 * While you decided to remove the Cloudinary plugin, you mentioned you had many
   problems with Cloudinary. As we are always looking to improve our services, we
   would like to understand the problems you faced. May I ask you to share the other
   issues you had on top of the array string issue?
 * Thanks in advance.
    Best, Loic
 *  Thread Starter [lukefive](https://wordpress.org/support/users/lukefive/)
 * (@lukefive)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14058828)
 * The problems were technical.
    Using Cloudinary did not help our content loading/
   delivery. I pulled the numbers from GTMetrix and sent them to Cloudinary tech
   support, but they did not respond. I also posted in this more public forum, and
   obviously did get a response.
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14058860)
 * Hi [@lukefive](https://wordpress.org/support/users/lukefive/),
 * Thanks for getting back to me.
 * Would you mind sharing your cloudname in order to see the request you opened 
   through the Support ticketing system?
 * Thanks in advance.
    Best, Loic
 *  Thread Starter [lukefive](https://wordpress.org/support/users/lukefive/)
 * (@lukefive)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14069646)
 * [@loiccloudinary](https://wordpress.org/support/users/loiccloudinary/) …
 * realize-information-technology
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14184511)
 * Hi [@lukefive](https://wordpress.org/support/users/lukefive/),
 * I couldn’t find any request other than this one for the cloud you shared.
 * We have just released the version `2.7.0` of our plugin, could you please upgrade
   and see if that fixes your issue.
 * Thanks in advance.
    Best, Loic

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘PHP error “array” “string” “null” ?’ is closed to new replies.

 * ![](https://ps.w.org/cloudinary-image-management-and-manipulation-in-the-cloud-
   cdn/assets/icon-256x256.png?rev=2377259)
 * [Cloudinary - Deliver Images and Videos at Scale](https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/)
 * [Active Topics](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/php-error-array-string-null/#post-14184511)
 * Status: resolved