Title: PHP Fatal error
Last modified: November 12, 2022

---

# PHP Fatal error

 *  Resolved [mrdgwp](https://wordpress.org/support/users/mrdgwp/)
 * (@mrdgwp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-327/)
 * Hi,
 * The plugin stopped working after upgrading from 5.6.7 to 5.6.9.
 * Error: `PHP Fatal error: Uncaught TypeError: ceil(): Argument #1 ($num) must 
   be of type int|float, SimpleXMLElement given in /htdocs/wp-content/plugins/owm-
   weather/owmweather.php:3469`

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

 *  Thread Starter [mrdgwp](https://wordpress.org/support/users/mrdgwp/)
 * (@mrdgwp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-327/#post-16192070)
 * Since I’m using the custom-1 owm-weather template, I tried switching back to 
   the default layout and it worked.
 * For testing purposes, if I copy the content of the content-owmweather.php to 
   the content-owmweather-custom1.php my site will show the error from above.
 *  Plugin Author [Uwe Jacobs](https://wordpress.org/support/users/uwejacobs/)
 * (@uwejacobs)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-327/#post-16192152)
 * Thanks for reporting the issue. Please update to version 5.6.10 and try again.
 *  Thread Starter [mrdgwp](https://wordpress.org/support/users/mrdgwp/)
 * (@mrdgwp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-327/#post-16192569)
 * Great, it’s working.
 * Thanks!

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

The topic ‘PHP Fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/owm-weather_3a88fe.svg)
 * [OWM Weather](https://wordpress.org/plugins/owm-weather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/owm-weather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/owm-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/owm-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/owm-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/owm-weather/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mrdgwp](https://wordpress.org/support/users/mrdgwp/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-327/#post-16192569)
 * Status: resolved