( ! ) 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.0003397584{main}( ).../index.php:0 20.0004399624require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 31.214632989456require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 41.216733074864include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 51.216733074864get_header( ).../single-knowledgebase.php:2 61.216733075240locate_template( ).../general-template.php:41 71.216733075336load_template( ).../template.php:647 81.216933095960require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 91.218633106680get_the_excerpt( ).../header.php:40 101.218633106680apply_filters( ).../post-template.php:381 111.218633107080WP_Hook->apply_filters( ).../plugin.php:203 121.218633108584wp_trim_excerpt( ).../class-wp-hook.php:288 131.218633108584get_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