Undefined variable: headings_color

KA Started by Ken Adair · January 16, 2019 at 1:30 am · 5 replies 1 voice Last reply 7 years, 5 months ago
KA
Ken Adair Original poster Member
#1

I am unable to edit the Shop page with Elementor. When I click on “Edit with Elementor”, I receive the following message: “The preview could not be loaded”.

After enabling debug mode and tailing the error.log file, I see the following every time I attempt to edit that page with Elementor:

2019/01/16 04:58:03 [error] 81078#81078: *24312 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined variable: headings_color in /www/kentuckycrafted_173/public/wp-content/themes/krystalpro/css/dynamic.css.php on line 76” while reading upstream …

KA
Ken Adair Original poster
#2

I searched the theme source for headings_color and only found one occurrence, which as in in dynamic.css.php:

    h1,h2,h3,h4,h5,h6{
        font-family: ' . $heading_font_family . ';   
        color: ' . $headings_color . '; 
    }
ST
Spiracle Themes Original poster
#5

Hi Ken,

You cannot directly edit the WooCommerce pages. Check the second point here (https://docs.elementor.com/article/56-content-area-not-found)
The reason that you are able to edit the Shop page once you disable the WooCommerce plugin is, now the Shop page has become a normal WordPress page which is not a WooCommerce shop page.

If you want to customize the Shop page then you might consider purchasing the Elementor Pro which provides the facility to create the Shop Archives page and Product Category pages. You can check videos on Youtube also to create Shop pages in Elementor Pro and so on.

$headings_color has nothing to do with this issue. It’s just a notice which you can ignore.

Let us know if you need further assistance.

Best Regards

Post a reply

Join the conversation. Be kind — this is a public forum.

Replying to Undefined variable: headings_color

By posting, your reply becomes public (unless marked private).