( ! ) 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.0001399928{main}( ).../index.php:0 20.0002401968require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 31.196632992184require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 41.198233077592include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 51.198233077592get_header( ).../single-knowledgebase.php:2 61.198233077968locate_template( ).../general-template.php:41 71.198233078064load_template( ).../template.php:647 81.198533098688require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 91.199733109408get_the_excerpt( ).../header.php:40 101.199733109408apply_filters( ).../post-template.php:381 111.199733109808WP_Hook->apply_filters( ).../plugin.php:203 121.199733111312wp_trim_excerpt( ).../class-wp-hook.php:288 131.199733111312get_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