( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /home/andyinf/magnior.com/wp-includes/post-template.php on line 284 Call Stack #TimeMemoryFunctionLocation 10.0001397368{main}( ).../index.php:0 20.0002399408require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 30.174032703064require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 40.175432722936include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 50.175432722936get_header( ).../single-knowledgebase.php:2 60.175432723312locate_template( ).../general-template.php:41 70.175432723408load_template( ).../template.php:647 80.175532744032require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 90.176632754776get_the_excerpt( ).../header.php:40 100.176632754776apply_filters( ).../post-template.php:381 110.176632755176WP_Hook->apply_filters( ).../plugin.php:203 120.176632756680wp_trim_excerpt( ).../class-wp-hook.php:288 130.176632756680get_the_content( ).../formatting.php:3337 " /> When I Select My Element Screen Goes Grey – Magnior

When I Select My Element Screen Goes Grey

Sometimes, when we want to add some element to our site (like Testimonial slider or Portfolio) screen goes grey.

This issue can be solved on really simple way.

Open “elements” folder and find there your element. Edit element that containing this problem.

In that code you will see ‘default’ => some number,

For example: 'default' => 5000,

You need to add single quotes to that number and be sure this error no more presents in that code.

Correctly should be like this:

'default' => '5000',

After you do this, element should be working fine.

If you still have some other issue with elements, feel free to submit a ticket :)

https://magnior.com/wp-content/uploads/2016/08/adding_element_grey.png

Next article