Essential grid Notice

Hi Team,

A question about essential-grid.

We have a notice on every title on the grid.

–> Notice: Undefined variable: separator in /app/public/wp-content/plugins/essential-grid/includes/item-skin.class.php on line 1725 <–

Is there some setting that we are missing?

http://staging.musichall.be/shows/nabucco/pers/

Thanks!

Kind regards.

Hi Matth,

Thanks for reaching out.

Notices and warning will appear if your Wordpress debug options are active. Please make sure to change WP_DEBUG to false within your site’s wp-config.php file. Some host may override it and still display those messages so you may contact them to disable by changing the error reporting configuration.

Please also check this https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/

Thanks!

Okay…

This is not a solutions for my problem.
I want to know if we missed a setting or how to prevent this notice.

Thanks!

Hey Matth,

I’m sorry but I could not replicate that notice therefore I could not guarantee I could point you to the right direction.

Here’s line 1725 from item-skin.class.php:

$lb_post_title = $is_post ? $base->getVar($this->post, 'post_title', '') : $this->get_custom_element_value('title', $separator, '');

The notice states that there’s something wrong with the separator taken from the Layer Settings of the skin. In case you’re not familiar with the Skin Editor, please see https://www.themepunch.com/essgrid-doc/item-skin-editor/

$separator = $base->getVar($layer['settings'], 'source-separate', ',');

Please check what you have placed in there. If it’s empty, please try inputting something like a space.

If that does not help, we’ll need to post this in our issue tracker for review.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.