Skip Navigation

[Closed] update broke the site: Call to undefined function toolset_getarr()

This support ticket is created 3 years, 10 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Luo Yang 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2339237

I updated toolset and switched to blocks.
The front of the site (blog view) still works, but a previous view for lessons is broken and the post type "lesson" is now missing from toolset.
This page has an error:
hidden link
I have login info for you

#2339343

Hello,

The function toolset_getarr() is built-in PHP function of Toolset Blocks plugin, it is defined in plugin file:
\toolset-blocks\vendor\toolset\toolset-common\utility\utils.php
line 704.

So the problem you mentioned above is abnormal, please try these:
1) Backup your website database
2) Deactivate/delete Toolset Blocks plugin(It is safe to delete plugin file, all Toolset settings are saved in your website database)
3) Install the latest version of Toolset Blocks plugin, and test again, you can download it here:
https://toolset.com/account/downloads/

#2341119

I've reinstalled the blocks plugin. No change.
See this page:
hidden link

we are using Sensei LMS and I think that it is trying to use a content template for "lessons" that doesn't exist anymore.

#2341125

Please try these:
1) deactivate all other plugins, and switch to WordPress default theme 2021, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2341131

I've installed an older version of Sensei LMS to get the site working again.
Testing is needed for Blocks and the latest update for Sensei LMS

#2341797

Since it is a compatibility issue with Sensei LMS, if you need more assistance for it, please update here when the test website copy is ready.

The topic ‘[Closed] update broke the site: Call to undefined function toolset_getarr()’ is closed to new replies.