• Hi, I did a theme update to the latest version and then a bulk plugins update and thats where things went wrong and have lost dashboard access. and page cant be found fault. I tried in cpanel disabling plugins, theme change, swap htaccess file to default wordpress to no avail.

    In the error log I got this:

    [10-Dec-2023 23:14:05 UTC] PHP Fatal error: Uncaught Error: Call to undefined function trailingslashit() in /home/riri16505/public_html/wp-includes/class-wp-textdomain-registry.php:103
    Stack trace:
    #0 /home/riri16505/public_html/wp-includes/l10n.php(784): WP_Textdomain_Registry->set(‘default’, ‘en_AU’, ‘/home/riri16505…’)
    #1 /home/riri16505/public_html/wp-includes/load.php(1401): load_textdomain(‘default’, ‘/home/riri16505…’, ‘en_AU’)
    #2 /home/riri16505/public_html/wp-includes/load.php(278): wp_load_translations_early()
    #3 /home/riri16505/public_html/wp-settings.php(74): wp_maintenance()
    #4 /home/riri16505/public_html/wp-config.php(129): require_once(‘/home/riri16505…’)
    #5 /home/riri16505/public_html/wp-load.php(50): require_once(‘/home/riri16505…’)
    #6 /home/riri16505/public_html/wp-blog-header.php(13): require_once(‘/home/riri16505…’)
    #7 /home/riri16505/public_html/index.php(17): require(‘/home/riri16505…’) #8 {main} thrown in /home/riri16505/public_html/wp-includes/class-wp-textdomain-registry.php on line 103
    [11-Dec-2023 07:33:50 UTC] Cron reschedule event error for hook: aios_15_minutes_cron_event, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”aios-every-15-minutes”,”args”:[],”interval”:900}

    Any guiding light on this? Any help appreciated. Thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi digiman55,

    Based on the error log you shared, it seems like there is an issue with the WordPress core files, specifically with the trailingslashit() function.

    To resolve this issue, you can try the following steps:

    – Replace core files: Download a fresh copy of the latest WordPress version and replace all files except the wp-content and wp-config.php file in your WordPress directory. This will overwrite any corrupted core files and ensure the trailingslashit() function is available.

    – Check for Plugin or Theme Conflicts: If the issue persists after reinstallation, try temporarily renaming the plugins’ directory to something like plugins_backup. This will deactivate all plugins. If the dashboard becomes accessible, rename the directory back to plugins and reactivate plugins individually to identify the problematic plugin.

    Try this out, and let me know how it goes.

    Thread Starter digiman55

    (@digiman55)

    Thank you Aniekan for the clear direction. I will try and provide feedback.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Call to undefined function’ is closed to new replies.