z-index error | WordPress.org

[ad_1]

I have the Gutenberg 15.1.1 plugin installed in WordPress 6.1.1

I placed the accordion inside a group and then made a reusable block out of it.

I also removed it from the reusable block and group and it’s still doing it.

I’m getting this error displayed on the live page that uses this block:

Warning: Undefined array key “zindex” in …/wp-content/plugins/easy-accordion-block/plugin.php on line 123

I looked it up and this is the line it mentions. What should I do to fix it?

line 123:		$custom_css .= '.'.$attributes['uniqueId'].' { z-index: '.$attributes['zindex'].'; }';

Thanks!

  • This topic was modified 11 hours, 6 minutes ago by veritycantare.
  • This topic was modified 10 hours, 41 minutes ago by veritycantare.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer