• Resolved Design

    (@designful)


    I’m getting this on all ten of my client’s sites.

    Error Details

    An error of type E_ERROR was caused in line 438 of the file /var/www/website.ca/htdocs/wp-content/plugins/wpforms/src/Helpers/CacheBase.php.

    Error message: Uncaught Error: Call to a member function getAll() on array in /var/www/webstite.ca/htdocs/wp-content/plugins/wpforms/src/Helpers/CacheBase.php:438

    Stack trace:

    /var/www/website.ca/htdocs/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(330): WPForms\Helpers\CacheBase->perform_remote_request()

    /var/www/website.ca/htdocs/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(242): WPForms\Helpers\CacheBase->update()

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @designful,

    Thanks for reaching out!

    We haven’t received any similar issues reported with WPForms Lite 1.9.0.1. Could you please check if you’re using the latest version?

    If the issue is occurring with WPForms Lite 1.9.0.1, we will need more details to help us understand the problem better.

    To help us gather more details about the issue on your site, please share your site’s error logs. In case it helps, we have a guide on how to enable debugging in WordPress, which you can find here.

    If you prefer to keep these details private, please drop us a line through our contact page with that information. Also, please mention that the ticket should be assigned to Ralden Souza. And to make it easier for me to locate your ticket, please share the ticket number with me here.

    Once I have these details, I can check with the team to provide you with more information about the issue.

    Thanks!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @designful,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

    Hi, I have the same problem, if you want I can put my debug.log file.

    [15-Aug-2024 09:20:35 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php on line 109
    [15-Aug-2024 09:20:35 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php on line 109
    [15-Aug-2024 09:20:35 UTC] PHP Fatal error: Uncaught Error: Cannot use a scalar value as an array in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php:109
    Stack trace: 0 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(485): WPForms\Admin\Addons\AddonsCache->prepare_cache_data() 1 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(330): WPForms\Helpers\CacheBase->perform_remote_request() 2 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(242): WPForms\Helpers\CacheBase->update() 3 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/pro/wpforms-pro.php(198): WPForms\Helpers\CacheBase->get() 4 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(324): WPForms_Pro->updater() 5 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 7 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/WPForms.php(297): do_action() 8 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(324): WPForms\WPForms->objects() 9 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 10 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 11 /home/smcbytec/web/canariasclimb.com/public_html/wp-settings.php(555): do_action() 12 /home/smcbytec/web/canariasclimb.com/public_html/wp-config.php(69): require_once(‘…’) 13 /home/smcbytec/web/canariasclimb.com/public_html/wp-load.php(50): require_once(‘…’) 14 /home/smcbytec/web/canariasclimb.com/public_html/wp-admin/admin-ajax.php(22): require_once(‘…’) 15 {main}

    thrown in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php on line 109
    [15-Aug-2024 09:20:38 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php on line 109
    [15-Aug-2024 09:20:38 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php on line 109
    [15-Aug-2024 09:20:38 UTC] PHP Fatal error: Uncaught Error: Cannot use a scalar value as an array in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php:109
    Stack trace: 0 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(485): WPForms\Admin\Addons\AddonsCache->prepare_cache_data() 1 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(330): WPForms\Helpers\CacheBase->perform_remote_request() 2 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/Addons.php(120): WPForms\Helpers\CacheBase->update() 3 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Pro/Admin/Addons/Addons.php(34): WPForms\Admin\Addons\Addons->init() 4 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/WPForms.php(369): WPForms\Pro\Admin\Addons\Addons->init() 5 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(324): WPForms\WPForms->WPForms{closure}() 6 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 8 /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/WPForms.php(297): do_action() 9 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(324): WPForms\WPForms->objects() 10 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 11 /home/smcbytec/web/canariasclimb.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 12 /home/smcbytec/web/canariasclimb.com/public_html/wp-settings.php(555): do_action() 13 /home/smcbytec/web/canariasclimb.com/public_html/wp-config.php(69): require_once(‘…’) 14 /home/smcbytec/web/canariasclimb.com/public_html/wp-load.php(50): require_once(‘…’) 15 /home/smcbytec/web/canariasclimb.com/public_html/wp-admin/admin.php(34): require_once(‘…’) 16 /home/smcbytec/web/canariasclimb.com/public_html/wp-admin/update-core.php(10): require_once(‘…’) 17 {main}

    thrown in /home/smcbytec/web/canariasclimb.com/public_html/wp-content/plugins/wpforms/src/Admin/Addons/AddonsCache.php on line 109

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @bytecanarias,

    Thanks for reaching out and sharing the logs!

    From your logs, I see that you’re using WPForms Pro (our paid version), and not WPForms Lite.

    If you have an active license subscription with us, could you please submit a support ticket through the WPForms account dashboard when you have a chance? From there, our support team will be able to take a closer look at your request. 

    I apologize that we’re not able to respond to paid version questions here in the www.ads-software.com support forums for the free version, but really appreciate your help!

    Thanks!

    Hi, I have the same problem, if you want I can put my debug.log file.

    Fatal error: Uncaught Error: Call to a member function getAll() on array in /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php:438 Stack trace: #0 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(330): WPForms\Helpers\CacheBase->perform_remote_request() #1 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php(242): WPForms\Helpers\CacheBase->update() #2 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-content/plugins/wpforms/src/Pro/Integrations/Translations/Translations.php(179): WPForms\Helpers\CacheBase->get() #3 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-content/plugins/wpforms/src/Pro/Integrations/Translations/Translations.php(160): WPForms\Pro\Integrations\Translations\Translations->get_addons() #4 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-content/plugins/wpforms/src/Pro/Integrations/Translations/Translations.php(466): WPForms\Pro\Integrations\Translations\Translations->is_wpforms_plugin() #5 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-includes/class-wp-hook.php(326): WPForms\Pro\Integrations\Translations\Translations->clear_plugin_translation_cache() #6 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-admin/includes/plugin.php(787): do_action() #9 /home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-admin/plugins.php(211): deactivate_plugins() #10 {main} thrown in?/home/1323500.cloudwaysapps.com/mtgharwudy/public_html/wp-content/plugins/wpforms/src/Helpers/CacheBase.php?on line?438

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @gouravsahu,

    Thanks for reaching out and sharing the logs!

    From your logs (/wp-content/plugins/wpforms/), I see that you’re using WPForms Pro (our paid version), and not WPForms Lite.

    If you have an active license subscription with us, could you please submit a support ticket through the WPForms account dashboard when you have a chance? From there, our support team will be able to take a closer look at your request.

    I apologize that we’re not able to respond to paid version questions here in the www.ads-software.com support forums for the free version, but really appreciate your help!

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.