Skip Navigation

[Resolved] wp-views: Plugin could not be activated because it triggered a fatal error

This support ticket is created 4 years 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: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Jamal 4 years ago.

Assisted by: Jamal.

Author
Posts
#2231057

I am trying to: activate toolset views after an automatic update

Link to a page where the issue can be seen: hidden link

I expected to see: info like dates and words about the event

Instead, I got: [wpv-view name=”view-evenement”]

#2231745

Hello and thank you for contacting the Toolset support.

I suspect that the plugin's update did not complete correctly. Probably because the PHP ZipArchive extension is missing. This caused some files to be missing too. Check this screenshot hidden link

On the other hand, I was able to activate Toolset Blocks without issues. And the page is now rendering the view instead of displaying its shortcode. hidden link
Toolset Views and Toolset Blocks are basically the same plugin with a difference in the editing experience setting(Toolset->Settings->General(tab)->Editing experience). And a difference in loading priority. In fact, both plugins cannot be activated on the same time. Once one fo them is activated, it will automatically deactivate the other.

I can suggest to keep Toolset Blocks activated. However, because you are using the Toolset Layouts plugin, you should activate Toolset Views instead of Toolset Blocks. Toolset Blocks is loading with a high priority and this can cause issues for Toolset Layouts.

This being said, I would suggest reaching to your hosting provider for help on activating the PHP ZipArchive extension on the server. Then you can delete Toolset Views, and install it again in the Toolset Installer page(Plugins->Add New->Commercial(tab)).

I hope this helps. Let me know if you have any questions.

#2234447

The PHP ZipArchive extension is not resolved yet. If I delete the Toolset Views and reinstall it, will I lose the Views modules that are already created?

#2234457

My issue is resolved for now even though the Toolset Views is not activated. Thank you!

#2234929

Actually, you won't loose any of your Toolset elements(views, content templates, archive templates, custom post types, etc.) Because they are saved on the database. After activating each plugin, you will get them back.