Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter imageshandlani

    (@imageshandlani)

    Good day again guys, @gappiah & @clayp. Good news so I managed to get admin access to my site. The theme was the culprit, I disabled the theme and everything worked. However now pages, links and content is rearranged and does not look and function as it should. Is there something I can do on the dashboard to get everything working as it should?

    Thread Starter imageshandlani

    (@imageshandlani)

    No worries at @George Appiah, I really appreciate the help.

    So yes I reverted all the changes I made in the files. I got the fatal error again. I then changed themes to the default 2024 one and boom the site loads with no fatal error just the layout and look changed. So it seems the theme is the cause of the fatal error.

    But the for the wp-admin I still can’t login. I’ll disable all plugins and re-able one at a time while testing to see the results thanks.

    Thread Starter imageshandlani

    (@imageshandlani)

    Hi guys again. I think the WP-Admin access issue is secondary to the real issue. The site has a fatal error where the front end, wp-login were not accessible detailed below:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “ws_private_posts_subscribers” not found or invalid function name in C:\xampp\htdocs\sites\new-metro\wp-includes\class-wp-hook.php:324 Stack trace: #0 C:\xampp\htdocs\sites\new-metro\wp-includes\class-wp-hook.php(350): WP_Hook->apply_filters(NULL, Array) #1 C:\xampp\htdocs\sites\new-metro\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #2 C:\xampp\htdocs\sites\new-metro\wp-settings.php(643): do_action(‘init’) #3 C:\xampp\htdocs\sites\new-metro\wp-config.php(109): require_once(‘C:\\xampp\\htdocs…’) #4 C:\xampp\htdocs\sites\new-metro\wp-load.php(50): require_once(‘C:\\xampp\\htdocs…’) #5 C:\xampp\htdocs\sites\new-metro\wp-blog-header.php(13): require_once(‘C:\\xampp\\htdocs…’) #6 C:\xampp\htdocs\sites\new-metro\index.php(17): require(‘C:\\xampp\\htdocs…’) #7 {main} thrown in C:\xampp\htdocs\sites\new-metro\wp-includes\class-wp-hook.php on line 324

    I followed the stack trace and commented line324 which removed the fatal error, and loaded the front end and wp-login but could not access the backend. @clay p & @George Appiah any advice or suggestions of handling this kind of fatal error?

    Thread Starter imageshandlani

    (@imageshandlani)

    Alright @clay P. I’ll attempt the steps you provided and see if I can resolve the issue

    Thread Starter imageshandlani

    (@imageshandlani)

    Alright, thanks I’ll do so and see if I can resolve.

    Thread Starter imageshandlani

    (@imageshandlani)

    Thanks for the reply George. The site is currently not available to the public it is in our dev environment. But I have downloaded the files locally to debug with xammp. Can I share the full plugin list and versions, with the theme as well? if that can help.

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