• Resolved Deepak

    (@d88pak)


    Hi Team,

    I am facing Fatal Error after activation this plugin. It must have something to do with PHP version I am using, WordPress update or WooCommerce update.

    Error Details

    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/plugins.php(10): require_once('...')
    #10 {main}
      thrown

    My Setup Details

    WordPress version 6.3.2
    Active theme: Electro Child (version 2.7.2)
    Current plugin: WooCommerce (version 8.2.1)
    PHP version 8.1.24
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @d88pak,

    Thanks for reaching out!

    We’ve seen this error occur when running an older version of WP Mail SMTP. Can you please check that you are running the latest version (3.9.0)?

    Besides adding new features and enhancements, plugin updates also fix known issues. It’s possible that this is either causing or contributing to the issues that you’re seeing, so we need to start with this.

    In case it helps, WPBeginner has a detailed tutorial on how to update plugins on your site:?

    https://www.wpbeginner.com/beginners-guide/how-to-properly-update-wordpress-plugins-step-by-step/

    After updating, please let me know if you still experience the error. If that doesn’t fix things, we’ll at least be able to troubleshoot more easily from there.

    Thanks ??

    Thread Starter Deepak

    (@d88pak)

    Hi @nasanansi

    Yes, I am using the latest version 3.9.0

    I have currently disabled this plugin and the rest of the plugins are working fine.

    Hey @d88pak,

    Thanks for getting back to us.

    We looked into this on our end but are still unable to replicate it.

    When you get some time, can you do a complete deletion of the plugin including all settings, email logs, and saved keys? Then re-install and activate the plugin all over again.

    To do a complete plugin delete, you’ll have to check the Uninstall WP Mail SMTP checkbox under WP Mail SMTP > Settings. Then save your settings.

    Please see here: https://wpmailsmtp.com/docs/a-complete-guide-to-miscellaneous-settings/#uninstall

    After this, deactivate and delete the plugin as you would any other plugin. This will delete all settings, email logs, and saved keys. Then you can try installing and activating the plugin all over again.

    I hope this helps.

    Thanks ??

    Thread Starter Deepak

    (@d88pak)

    Hi @nasanansi,

    I have uninstalled (completely) and reinstalled the plugin as you have suggested. Now it works fine.

    Hope it won’t snap on next plugin update ??

    Thanks!

    Thread Starter Deepak

    (@d88pak)

    Hi @nasanansi,

    It worked for a while but the same issue cropped up again after a while. For now I have disabled this plugin and all is working fine.

    With this plugin enabled, specifically I can’t access this page anymore

    https://www.kinaun.com/wp-admin/plugins.php

    And sometimes other admin pages.

    Thread Starter Deepak

    (@d88pak)

    Hi @nasanansi,

    I have updated the whole server lately (new ubuntu version) and their packages.

    Also have updated the rest of the plugins whose updates are available.

    Once I install and activate this plugin, same error occurs.

    Not sure whether it has to do with WooCommerce or this plugin.

    For the clue I was using Mailster for my newsletter needs and also using the same plugin to handle the system emails. But after updating the WooCommerce, Mailster started showing the following error message

    The wp_mail() method already exists from a different plugin! Please disable it before using Mailster for system mails!
    More info: - /wp-includes/pluggable.php:174

    https://stackoverflow.com/questions/77398529/wp-mail-method-already-exists-from-a-different-plugin

    Due to that reason, I used this plugin to send system emails and this error is occurring ever since.

    Though I can’t access the plugins and Dashboard update pages, I can access the Admin Dashboard and other pages. Also, mails are sent properly.

    Any pointers on how to solve this problem? or any update coming soon?

    Thanks!

    Thread Starter Deepak

    (@d88pak)

    Hi Team,

    I have just updated it to WordPress 4 and other plugins. Rest is working fine. But when I enable this plugin, now I can’t even the access the admin area anymore. Please check and release the next update.

    Thanks!

    • This reply was modified 1 year ago by Deepak.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Attempt to assign property “translations” on null’ is closed to new replies.