• Resolved rawhasan

    (@rawhasan)


    Hi,

    I am suddenly getting a critical error while trying to browse an URL for any testimonial details: http://prntscr.com/rjhzg6

    The list of the testimonials is displaying fine on this page: https://nijhoom.com/review/

    The issue is appearing while trying to display the testimonials individually using it’s URL.

    Any help? Thanks!

    P.S. I’ve disabled and enabled the plug-in and saved the Permalink settings from the settings page of WordPress. No result.

    • This topic was modified 6 years, 2 months ago by rawhasan.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @rawhasan,

    Can you please take a look in your PHP error log and let us know what errors are there when you try to access the testimonial page?

    Warmly,
    Mihaela

    Thread Starter rawhasan

    (@rawhasan)

    Hi @mplusb,

    Here is the error log:

    [20-Mar-2020 12:10:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined function post_is_in_category_or_descendants() in /home/nijhoomc/public_html/wp-content/themes/u-design-child/single-wpm-testimonial.php:13

    I’ve found the clue and fixed it. I’ve customized the detailed view of the testimonial copying the theme single file on the child theme, renaming it to single-wpm-testimonial.php (as suggested previously by Chris), and added the custom code for the Strong Testimonial there. The theme author changed the name of a function on that file, so it was throwing the fatal error suddenly (just updated the theme I now remember).

    Checked the line with the latest version of the theme file and found the difference. Replaced that line with the updated one, and the issue resolved! I am not a developer, but so happy to resolve the issue! Thanks for pointing out to the error log!

    Great support, thank you! 🙂

    P.S. I am planning to purchase the premium version of the plug-in for a long time because of the amazing support I’ve received before from Chris, but that somehow did not happen yet. Will do that ASAP.

    Best regards,
    Hasan

    Happy to hear you found the issue and fixed it!
    Great job!

    Warmly,
    Mihaela

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

The topic ‘Critical Error’ is closed to new replies.