• Resolved Deepak

    (@d88pak)


    Hi,

    Lately I am getting Fatal Error when I try to navigate to wp-admin/plugins.php and wp-admin/update-core.php

    Setup Details

    WordPress version 6.3.1
    Active theme: Electro Child (version 2.7.2)
    Current plugin: WooCommerce (version 8.1.1)
    PHP version 8.1.23

    Error Details

    An error of type E_ERROR was caused in line 81 of the file /wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php. Error message: Uncaught Error: Attempt to assign property "translations" on null in /wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:81
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(312): WC_Helper_Updater::transient_update_plugins()
    #1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /wp-includes/option.php(2053): apply_filters()
    #3 /wp-includes/update.php(393): set_site_transient()
    #4 /wp-includes/update.php(1022): wp_update_plugins()
    #5 /wp-includes/class-wp-hook.php(310): _maybe_update_plugins()
    #6 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #7 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /wp-admin/admin.php(175): do_action()
    #9 /wp-admin/edit.php(10): require_once('...')
    #10 {main}
      thrown
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @d88pak

    Lately I am getting Fatal Error when I try to navigate to wp-admin/plugins.php and wp-admin/update-core.php

    From what I understand, you’ve run into a fatal error while trying to access wp-admin/plugins.php and wp-admin/update-core.php. The error details you’ve shared indicate that the error is coming from line 81 of the file /wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php.

    This problem could stem from a conflict with another plugin or the theme you’re currently using. Let me guide you through the steps to resolve this:

    1. Update WooCommerce: Make sure you’re using the latest version of WooCommerce. If not, update it.
    2. Disable all plugins: Start by disabling all plugins to check if the error still occurs. If the error disappears, one of the plugins is causing the conflict. You can then turn on the plugins one by one to identify the problematic ones.
    3. Switch to a default theme: If disabling the plugins doesn’t fix the issue, try switching to a default WordPress theme like Storefront. If this solves the problem, the conflict is with your current theme. Here’s a helpful guide on how to test for conflicts: ?? How to Test for Plugin and Theme Conflicts.
    4. Enable Debugging: If the issue persists, turn on debugging in WordPress. This can help identify the root cause. To activate debugging, add these lines to your wp-config.php file:
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    This will create a debug.log file in your wp-content directory, which will log any PHP errors or notices. Here’s a detailed guide on enabling debugging in WordPress: ?? Debugging in WordPress.

    If you’re still facing the issue after trying these steps, we’ll need more details like the exact error messages you see when debug mode is on. This will help us identify and solve the problem more effectively.

    It would also be extremely useful if you could share your site’s System Status report. This will provide a clearer view of your site’s setup and assist us in identifying the problem. You can get this report via WooCommerce > Status. Select ‘Get system report‘ and then ‘Copy for support‘.

    Once you’ve gathered this information, please paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.

    Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.

    Thread Starter Deepak

    (@d88pak)

    Hi Team,

    Thanks for the detailed explanation. I am sure if it is the Woo or other plugin.

    I have just pasted the report on pastebin

    https://pastebin.com/AYrtnGMx

    I am currently running the site without Redux Framework (which my theme depends upon). Once I activate that plugin, it throws Fatal error on many links I go in Admin section.

    I have asked help on this thread also but it looks like it has nothing to do with Redux (not sure though)

    https://www.ads-software.com/support/topic/v4-4-7-conflicts-with-woocommerce-8-1-1/

    Also lately I have disabled Redis Object Cache plugin. Activating this also thows same error as of now.

    Need help ASAP

    Thanks!

    Hi @d88pak

    Thank you for providing the detailed system status report. It gives us a clearer view of your site’s setup and helps in identifying the problem.

    From the report, I can see that you’re using WooCommerce version 8.1.1 while the latest available version is 8.2.0. I recommend updating WooCommerce to the latest version as it often includes bug fixes that might resolve the issue you’re facing.

    You mentioned that your theme depends on the Redux Framework, and activating it causes a fatal error. It’s possible that there is a compatibility issue between the Redux Framework and the version of WooCommerce you’re using.

    I suggest reaching out to the developers of Redux Framework or your theme’s support for assistance, as they might already have a solution for this issue. They can also test the theme with the latest version of WooCommerce and provide a fix if necessary.

    As for the Redis Object Cache plugin, it’s a caching plugin that might be causing conflicts with other plugins or your theme. Caching problems can often cause unexpected behavior on your site. Try clearing your Redis cache, and if the problem persists, consider reaching out to the plugin’s support for further assistance.

    If these steps don’t resolve the issue, the next step would be to perform a conflict test. This involves deactivating all plugins and switching to a default theme to see if the problem persists. If the error disappears, you can reactivate your plugins and themes one by one to identify the source of the conflict.

    ?? Just a quick reminder: Before you make any changes, we strongly recommend that you create a backup of your full site and database. This is a crucial step to ensure that in case anything goes wrong, you can easily restore your site to its previous, functioning state.

    Please let us know how it goes and if you need further assistance. We’re here to help you resolve this issue as soon as possible.

    Hi @d88pak

    Do you also use active WP Mail SMTP Pro?

    There could be some problem. I have changed to MailPoet, and same problem disappeared.

    Thread Starter Deepak

    (@d88pak)

    Yes I do. I was using Mailster for my newsletter (and also using same for system emails). But lately I got an error that wp_mail() is used by another plugin, so I used the WP Mail SMTP Pro for system emails.

    Thanks for the pointer, I will check with that plugin disabled if that’s the case.

    Actually the error is random. Sometimes I get Fatar Error on the same page. Next time I can open the page. Not sure what’s happening.

    • This reply was modified 1 year, 4 months ago by Deepak.
    • This reply was modified 1 year, 4 months ago by Deepak.

    Same here. Error was random. Also all WordPress updates were blocked (no updates shown).
    If you use WPML, they have launched today Hotfix Release: WPML Multilingual CMS 4.6.7
    It should repair some fatal PHP errors that could happen in specific cases.

    Thread Starter Deepak

    (@d88pak)

    @bisratlearn

    Thanks!

    I have done conflict test several times. Also updated the plugins. It really does conflict once I activate the WP Mail STMP Pro. With this plugin disable all is working fine. However, I can’t get emails about order or other system emails.

    I have reported the issue already on this plugin support (https://www.ads-software.com/support/topic/attempt-to-assign-property-translations-on-null/). Hope they will release the new update soon.

    Thanks all for the pointers!

    Hi there @d88pak ??

    I have done conflict test several times. Also updated the plugins. It really does conflict once I activate the WP Mail STMP Pro. With this plugin disable all is working fine.

    I’m glad the culprit was found.

    I can’t get emails about order or other system emails.

    Feel free to go ahead with utilizing one of the suggested SMTP providers listed here, in order to ensure uninterrupted delivery of the store’s emails.

    cc @sarbash, and thank you for chiming in!

    Cheers, everyone!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Error] class-wc-helper-updater.php:81’ is closed to new replies.