Skip Navigation

[Resolved] Fatal error: Uncaught Error: Call to a member function is_a_view() on null in /h

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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 7 months ago.

Assisted by: Waqar.

Author
Posts
#2693672
WordPress-›-Error.png

I tried editing this template, but got an error: Loop item in Search New

Fatal error: Uncaught Error: Call to a member function is_a_view() on null in /home/cliftlandbrokers/public_html/web/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Integrations/Views/Internals.php:107 Stack trace: #0 /home/cliftlandbrokers/public_html/web/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Integrations/Views/Internals.php(68): Toolset\DynamicSources\Integrations\Views\Internals->get_parent_loop_post_types(51756) #1 /home/cliftlandbrokers/public_html/web/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Integrations/Views.php(72): Toolset\DynamicSources\Integrations\Views\Internals->get_assigned_post_types(51757) #2 /home/cliftlandbrokers/public_html/web/wp-includes/class-wp-hook.php(324): Toolset\DynamicSources\Integrations\Views->adjust_post_types_for_source_context_in_cts('view-template', 51757) #3 /home/cliftlandbrokers/public_html/web/wp-includes/plugin.php(205): WP_Hook->apply_filters('view-template', Array) #4 /home/cliftlandbrokers/ in /home/cliftlandbrokers/public_html/web/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Integrations/Views/Internals.php on line 107

#2693797

Hi,

Thank you for contacting us and I'd be happy to assist.

An error like this can appear if a content template is assigned to a view, which has been deleted.

Is this template assigned to any post type or a view and do you see any deleted view(s), in the trash at WP Admin -> Toolset -> Views?

regards,
Waqar