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
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