Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1371617
    riversafe
    Participant

    Hi there, I was editing some stuff on my WordPress site and when I refreshed the page I got a fatal error.

    The message:

    Fatal error: Call to undefined function x_is_validated() in /home/myname/public_html/wp-content/themes/x/functions.php on line 145

    This has been happening for some time now

    #1371665
    riversafe
    Participant
    This reply has been marked as private.
    #1371680
    Paul R
    Moderator

    Hi,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1371730
    riversafe
    Participant
    This reply has been marked as private.
    #1372038
    Rupok
    Member

    Hi there,

    Looks like you have disabled the usual login URLs. If you are using any plugin or custom functions for such thing then I guess your issue is also related to this. Kindly provide your login URL and meantime you could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    #1372096
    riversafe
    Participant
    This reply has been marked as private.
    #1372270
    Rupok
    Member
    This reply has been marked as private.
    #1372287
    riversafe
    Participant

    You’ll need to flush the cache and retry please, this is a temporary problem we’re having here. Please give it another go, you may need to try a few times.

    #1372626
    Darshana
    Moderator
    This reply has been marked as private.
    #1373252
    riversafe
    Participant

    Great, this happens when I make a change in the admin dashboard and refresh the page. Sometimes even when using the website without being logged in at all (external view) and a fatal error is really bad to display to clients :(.

    #1373273
    riversafe
    Participant
    This reply has been marked as private.
    #1373432
    Darshana
    Moderator

    Hi there,

    Upon checking your current setup, there are two things that you can do.

    1. You’re running PHP V5.4.45 on your server. Please contact your hosting provider and ask them to update your PHP version to at least PHP v5.6.0 or above to avoid any incompatibility issues as WordPress recommends it.

    2. Find the following line of code, in the wp-config.php file which is located under the root of your WordPress installation.

    define( 'WP_DEBUG', true );

    Then replace that line with the following code.

    
    define( 'WP_DEBUG', true ); 
    if ( WP_DEBUG ) {
        define( 'WP_DEBUG_LOG', true );
        define( 'WP_DEBUG_DISPLAY', false );
        @ini_set( 'display_errors', 0 );
    }
    

    This will create a log file under “/wp-content/” called debug.log and it will record any possible errors without showing them to the users.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1371617 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>