PHP Fatal error: Uncaught Error: Call to undefined function

Home Forums Legacy Support Support queries How-to & Troubleshooting PHP Fatal error: Uncaught Error: Call to undefined function

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #240497
    eduranz_779
    Spectator
    Hi, I am getting the following Fatal error when I am viewing a draft and published Posts.   PHP Fatal error:  Uncaught Error: Call to undefined function wplms_modern_get_header() in /home/eduranz/public_html/wp-content/themes/wplms/single-post.php:14 Stack trace: #0 /home/eduranz/public_html/wp-includes/template-loader.php(78): include() #1 /home/eduranz/public_html/wp-blog-header.php(19): require_once('/home/eduranz/p...') #2 /home/eduranz/public_html/index.php(17): require('/home/eduranz/p...') #3 {main} thrown in /home/eduranz/public_html/wp-content/themes/wplms/single-post.php on line 14 Please help resoling this at the earliest
    #240580
    logan
    Member

    Notices /warnings are nothing to worry about. it has nothing to do with the actual functionality. but if you find any fatal error only then you have to worry about it.

    What are PHP Notices?
    PHP notices are the least important. As stated on the official PHP website, you will see PHP notices when:

    the script encountered something that could indicate an error, but could also happen in the normal course of running a script.

    Refer: https://www.ostraining.com/blog/wordpress/warnings/.


    NOTE: THE ABOVE LINES ARE NOT AN ISSUE. THAT IS JUST NOTICE, YOU DO NOT NEED TO WORRY ABOUT IT. EVERYTHING WORKS FINE.

    you could hide these notices, follow this link: https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress

    #240640
    eduranz_779
    Spectator
    Logan, This is a Fatal error only.

    PHP Fatal error: Uncaught Error: Call to undefined function wplms_modern_get_header() in /home/eduranz/public_html/wp-content/themes/wplms/single-post.php:14

    Due to this my Blog page and Posts are getting error and they are not loading. See the screenshot below I get while loading Posts. https://www.eduranz.com/test-post/ I have tried other options already like deactivating the plugins..but its not a problem with Plugins.
    #240729
    logan
    Member
    Hello, please make sure your theme and plugins are of the latest version which is 3.9.8. share your admin credentials with Cpanel details. i will fix this.
    #240778
    eduranz_779
    Spectator
    This reply has been marked as private.
    #240864
    logan
    Member
    This reply has been marked as private.
    #240867
    eduranz_779
    Spectator
    This reply has been marked as private.
    #240941
    logan
    Member
    This reply has been marked as private.
    #242106
    eduranz_779
    Spectator
    This reply has been marked as private.
    #242165
    logan
    Member
    • update this theme first of all: https://share.getcloudapp.com/5zuygQoK
    • update plugins: https://share.getcloudapp.com/o0uDb514
    • then check AND let me know
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Call to undefined function’ is closed to new replies.