Title: Error with PHP 7.2
Last modified: August 21, 2019

---

# Error with PHP 7.2

 *  Resolved [Robbie_berns](https://wordpress.org/support/users/robbernsteinzgmailcom/)
 * (@robbernsteinzgmailcom)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/error-with-php-7-2-8/)
 * Hi
    This is a great plugin which I’ve used for many years. Howwever I’ve just
   upgraded the server to nginx and PHP7.2, and the plugin shows the following error:
   2019/08/21 04:23:00 [error] 6#6: *2509 FastCGI sent in stderr: “PHP message: 
   PHP Fatal error: Uncaught Error: Call to undefined function gregoriantojd() in/
   var/www/htdocs/wp-content/plugins/wordpress-hebrew-date/heb_date.php:17 Stack
   trace: #0 /var/www/htdocs/wp-content/plugins/wordpress-hebrew-date/heb_date.php(
   48): hebDate(’12:00:41 2019-8…’) #1 /var/www/htdocs/wp-includes/class-wp-hook.
   php(288): the_hebDate(’20 Aug 2019′) #2 /var/www/htdocs/wp-includes/plugin.php(
   208): WP_Hook->apply_filters(’20 Aug 2019′, Array) #3 /var/www/htdocs/wp-includes/
   general-template.php(2403): apply_filters(‘get_the_date’, ’20 Aug 2019′, ‘j M
   Y’, Object(WP_Post)) #4 /var/www/htdocs/wp-content/themes/Divi/includes/builder/
   module/Blog.php(1339): get_the_date(‘j M Y’) #5 /var/www/htdocs/wp-content/themes/
   Divi/includes/builder/class-et-builder-element.php(2117): ET_Builder_Module_Blog-
   >render(Array, ”, ‘et_pb_blog’, ”, ”, ”, ”) #6 /var/www/htdocs/wp-includes/shortcodes.
   php(325): ET_Builder_Element->_render(Array, ”, ‘et_pb_blog’) #7 [internal function]:
   do_shortcode_tag(Array) #8 /” while reading response header from upstream, client:
   198.41.238.26, server: bethshalom.org.nz, request: “GET / HTTP/1.1”, upstream:“
   fastcgi://172.29.0.4:9000”, host: “bethshalom.org.nz”, referrer: “[https://bethshalom.org.nz/wp-admin/plugins.php?plugin_status=all&paged=1&s&#8221](https://bethshalom.org.nz/wp-admin/plugins.php?plugin_status=all&paged=1&s&#8221);
 * Help please!

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

 *  Plugin Author [hatul](https://wordpress.org/support/users/hatul/)
 * (@hatul)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/error-with-php-7-2-8/#post-11873071)
 * Hi
 * You need to enable calendar extension in phph.ini file.
 *  Thread Starter [Robbie_berns](https://wordpress.org/support/users/robbernsteinzgmailcom/)
 * (@robbernsteinzgmailcom)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/error-with-php-7-2-8/#post-11873224)
 * Hi
    I installed the icalendar extension, and now works perfectly. Thank you Hatul!

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

The topic ‘Error with PHP 7.2’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-hebrew-date/assets/icon-256x256.png?rev=1091074)
 * [WP Hebrew Date](https://wordpress.org/plugins/wordpress-hebrew-date/)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-hebrew-date/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-hebrew-date/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-hebrew-date/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-hebrew-date/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Robbie_berns](https://wordpress.org/support/users/robbernsteinzgmailcom/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/error-with-php-7-2-8/#post-11873224)
 * Status: resolved