• Resolved yasircs4

    (@yasircs4)


    Salam ealaykum Mohammad Okfie, I got this error after update WordPress to 4.9.4. Please fix it, thank you.

    
        [15-Mar-2018 08:19:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function hijri\gregoriantojd() in /home/_username_/public_html/wp-content/plugins/wp-hijri/include/hijri.class.php:207
        Stack trace:
        #0 /home/_username_/public_html/wp-content/plugins/wp-hijri/main.php(304): hijri\datetime->format('_Y _n')
        #1 /home/_username_/public_html/wp-includes/class-wp-hook.php(288): WP_Hijri->posts_results_fl(Array)
        #2 /home/_username_/public_html/wp-includes/plugin.php(244): WP_Hook->apply_filters(Array, Array)
        #3 /home/_username_/public_html/wp-includes/class-wp-query.php(2850): apply_filters_ref_array('posts_results', Array)
        #4 /home/_username_/public_html/wp-includes/class-wp-query.php(3230): WP_Query->get_posts()
        #5 /home/_username_/public_html/wp-includes/class-wp-query.php(3336): WP_Query->query(Array)
        #6 /home/_username_/public_html/wp-content/themes/_themename_/header.php(60): WP_Query->__construct(Array)
        #7 /home/_username_/public_html/wp-includes/template.php(688): require_once('/home/_username_/...')
        #8 /home/_username_/public_html/wp-includes/template.php(647): in /home/_username_/public_html/wp-content/plugins/wp-hijri/include/hijri.class.php on line 207
    
    
    • This topic was modified 6 years, 8 months ago by yasircs4. Reason: change names
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor hubaishan

    (@hubaishan)

    I have tested it in 4.9.4 there isn’t any errors.
    give me php version.
    your previous WordPress version (before Update)

    Thread Starter yasircs4

    (@yasircs4)

    The PHP version is 7.0, the WordPress version I don’t remember exactly but I think it 4.x.x.
    Now I test on PHP version 7.2 and 5.6 and it’s working fine.

    Thank you hubaishan for fast response and for this helpful plugin.

    • This reply was modified 6 years, 8 months ago by yasircs4.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Call to undefined function hijri\gregoriantojd’ is closed to new replies.