• Resolved dacardona

    (@dacardona)


    Hi, I have spent 2 days looking for a solution and I can’t find ?? . I didn’t install any plugin reciently and also themes. Even I didn′t do any different in my site reciently so I don’t understand why I have this issue.

    What I tried:
    1. Uninstall all plugins: didn’t work
    2. Inactive theme: didn’t work

    See the complete trace:

    thrown in /home/obalaco/public_html/wp-includes/class-wp-hook.php on line 308 [09-Aug-2023 01:44:47 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "WP_Duotone" not found in /home/obalaco/public_html/wp-includes/class-wp-hook.php:308 Stack trace: #0 /home/obalaco/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #1 /home/obalaco/public_html/wp-includes/blocks.php(502): apply_filters() #2 /home/obalaco/public_html/wp-includes/blocks/legacy-widget.php(59): register_block_type_from_metadata() #3 /home/obalaco/public_html/wp-includes/class-wp-hook.php(308): register_block_core_legacy_widget() #4 /home/obalaco/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /home/obalaco/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/obalaco/public_html/wp-settings.php(623): do_action() #7 /home/obalaco/public_html/wp-config.php(102): require_once('/home/obalaco/p...') #8 /home/obalaco/public_html/wp-load.php(50): require_once('/home/obalaco/p...') #9 /home/obalaco/public_html/wp-blog-header.php(13): require_once('/home/obalaco/p...') #10 /home/obalaco/public_html/sapp-wp-signon.php(40): require('/home/obalaco/p...') #11 {main} thrown in /home/obalaco/public_html/wp-includes/class-wp-hook.php on line 308

    • This topic was modified 1 year, 7 months ago by dacardona.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @dacardona

    If disabling all plugins and revert to default theme couldn’t solve your problem, I recommend the following steps:

    1. Backup Your Site: Before making any changes, it’s essential to create a complete backup of your WordPress site. This ensures that you can restore your site to its previous state if needed.
    2. Download Fresh WordPress Files: Visit www.ads-software.com and download the latest version of WordPress. Extract the ZIP file on your computer.
    3. Replace Core Files:
      • Using an FTP client or your hosting’s file manager, access your WordPress installation directory.
      • Delete the wp-admin and wp-includes folders within your WordPress directory.
      • Upload the corresponding wp-admin and wp-includes folders from the fresh WordPress download to your hosting, overwriting the existing folders.
    4. Check PHP Compatibility:
      • Log in to your hosting control panel and locate the PHP settings.
      • Ensure that you’re using a PHP version that’s compatible with the latest WordPress version. PHP 7.3 or higher is recommended.
      • If you’re unsure about your current PHP version, you can create a file named phpinfo.php with the content <?php phpinfo(); ?>, upload it to your server, and access it in a browser to check your PHP version.
    5. Test Your Site:
      • Visit your WordPress site and carefully test its functionality.
      • Pay close attention to the specific error that you encountered earlier. Check if it has been resolved.
      • Test different pages, features, plugins, and interactive elements to ensure everything is working as expected.
    6. Monitor for Issues:
      • Observe your site over the next few days to ensure that the changes you made haven’t introduced new problems.
      • If you notice any unusual behavior, broken functionality, or errors, investigate further.

    I hope this helps.

    Thread Starter dacardona

    (@dacardona)

    Hi @saadahsan

    I finally managed to fix the error with your recommendation, I reinstalled a clean version of wordpress keeping the content and it worked ??

    Thank you Thank you Thank you Thank you!!

    agenciaboomcreativo

    (@agenciaboomcreativo)


    When you reinstall wordpress, did everything you already had created on the site get deleted? That is, all the information, images, menus, products, plugins, etc? I have the same error, but I dont want everything I did before to get deleted

    Thread Starter dacardona

    (@dacardona)

    Hi @agenciaboomcreativo , don’t worry about that, because you shouldn’t delete “wp-content” folder . Information, images, so on,,…They are in there, so you will be fine with that.

    Let me know if you need something

    agenciaboomcreativo

    (@agenciaboomcreativo)

    Hello! I already did, but the content didn’t show up again. The theme is as newly installed and not with all the modifications I had made. My created pages aren’t showing up either. My wp-content folder is exactly the same but it’s like it’s not reading it. Also, when I go to my media library, no uploaded images show up, but if I look in the wp-content/uploads folder, all the images are there. Do you know what I could do?

    Thread Starter dacardona

    (@dacardona)

    Hi @agenciaboomcreativo , do you speak spanish?

    Have you tried to update wordpress to 12.3 version? if not please try it

    Please take in consider the content is saved in two places: wp-content folder and the data base, so I consider that you haven’t lose the content yet.

    Please try to update wordpress to latest version and let me know

    agenciaboomcreativo

    (@agenciaboomcreativo)

    Hola! Sí, hablo espa?ol.

    La información no se perdió, está toda en mis carpetas, de hecho antes había hecho una copia de seguridad por si algo pasaba, poder recuperar la información (aunque aún presentara el error). El problema está en que por alguna razón es como si no leyera la info en esas carpetas, incluso con la copia de seguridad. No sé qué pasó, pero al menos he ido recuperando la información manualmente y al final pues ya tampoco tengo el error.

    Gracias por la ayuda!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error: Uncaught TypeError’ is closed to new replies.