Title: TypeError
Last modified: October 12, 2022

---

# TypeError

 *  Resolved [ronnieoyoy](https://wordpress.org/support/users/ronnieoyoy/)
 * (@ronnieoyoy)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/typeerror-7/)
 * When clicking “Upload”, the following is returned:
 * `<h1>TypeError thrown</h1><p>CF_Images\App\Core::upload_image(): Argument #1 (
   $metadata) must be of type array, bool given, called in /var/www/1/163977/www/
   wp-content/plugins/cf-images/App/Core.php on line 326</p>`

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

 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/typeerror-7/#post-16123738)
 * Hi [@ronnieoyoy](https://wordpress.org/support/users/ronnieoyoy/),
 * Looks like one of your images does not have any metadata and it’s causing a minor
   issue. I will make sure this is fixed in the upcoming update.
 * Best regards,
    Anton
 *  Thread Starter [ronnieoyoy](https://wordpress.org/support/users/ronnieoyoy/)
 * (@ronnieoyoy)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/typeerror-7/#post-16127558)
 * Hi Anton,
 * thanks for the update. Do you have any release date for next update, or a quick
   fix that we can implement ourselves in the meantime?
 * Thanks,
    Ronnie
 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/typeerror-7/#post-16127587)
 * Hi Ronnie,
 * I’ve pushed out an update. Can you please check if that fixes the issue?
 * Best regards,
    Anton
 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/typeerror-7/#post-16169171)
 * There’s been no activity on this ticket. I’ll mark it as resolved. Please feel
   free to open another one in case you have any other issues.

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

The topic ‘TypeError’ is closed to new replies.

 * ![](https://ps.w.org/cf-images/assets/icon-256x256.png?rev=2930278)
 * [Offload, AI & Optimize with Cloudflare Images](https://wordpress.org/plugins/cf-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf-images/)
 * [Active Topics](https://wordpress.org/support/plugin/cf-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf-images/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/typeerror-7/#post-16169171)
 * Status: resolved