Non-static method CCS_Loop::include_children() should not be called statically
-
Since the last update, I’m getting this warning on any page where the loop is used.
Deprecated: Non-static method CCS_Loop::include_children() should not be called statically in /var/www/xxxxxxxx/wp-includes/class-wp-hook.php on line 286
I have everything up to date and disabling the plugin removes the warning.
Is there any solution for this? I wouldn’t like to remove this great plugin and do all shortcodes logic by myself.This is the main page code:
<ul class="properties"> [loop type=propiedades status=publish ] [if sticky] <li class="property"> [link field=url class=image_wrapper] <div class="post_image" style="background:url([field image-url])"></div> [-if field=dimension] <div class="dimension-block"> [field dimension class=dimension] [field dimension_type class=dimension_type] </div> [/-if] [-if field=status value=Vendido] [block class=sold-block] VENDIDO [/block] [/-if] [-if field=status value=Alquilado] [block class=sold-block] ALQUILADO [/block] [/-if] [/link] <div class="content-block"> <a href="[field url]"> <h3 class="title">[field taxonomy=tipo_transaccion]: [field title item_class=title]</h3> </a> <div class="location"><i class="fas fa-map-marker-alt"></i>[field kia_subtitle]</div> </div> </li> [/if] [/loop] </ul>
BTW, warnings have been disabled until a solution is found.
- This topic was modified 5 years, 2 months ago by .
- This topic was modified 5 years, 2 months ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Non-static method CCS_Loop::include_children() should not be called statically’ is closed to new replies.