Skip Navigation

[Resolved] Astra and Toolset PHP errors

This thread is resolved. Here is a description of the problem and solution.

Problem:
When using Toolset and Astra Pro plugin, the following PHP warnings might be produced:

Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method Astra_Addon_Background_Updater::needs_db_update() in .../plugins/wp-views/vendor/toolset/toolset-theme-settings/compatibility-modules/controllers/toolset-theme-integration-settings-front-end-controller.php on line 363

¨
What can I do?

Solution:
Follow this erratum:
https://toolset.com/errata/php-warning-when-using-astra-pro-plugin-and-toolset-views-or-blocks/

If the erratum is closed (green) then you can simply update Toolset to its latest version

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 replies, has 2 voices.

Last updated by Beda 4 years, 11 months ago.

Assisted by: Beda.

Author
Posts
#1457071

I am trying to:

Link to a page where the issue can be seen:

I expected to see:

Instead, I got: Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method Astra_Addon_Background_Updater::needs_db_update() in /homepages/22/d655932116/htdocs/clickandbuilds/AmericanHomeHelp/wp-content/plugins/layouts/vendor/toolset/toolset-theme-settings/compatibility-modules/controllers/toolset-theme-integration-settings-front-end-controller.php on line 363

Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method Astra_Addon_Background_Updater::needs_db_update() in /homepages/22/d655932116/htdocs/clickandbuilds/AmericanHomeHelp/wp-content/plugins/layouts/vendor/toolset/toolset-theme-settings/compatibility-modules/controllers/toolset-theme-integration-settings-front-end-controller.php on line 363

#1457417
#1457831

My issue is resolved now. Thank you!

#1495743

This is now released in Views 3.1.0
If you cannot see the update on your install please check for new updates in the Plugins > Commercial tab, or download it from https://toolset.com/account/downloads/