Title: Fatal error in Css_Customizer.php
Last modified: December 29, 2020

---

# Fatal error in Css_Customizer.php

 *  Resolved [Mark Drovdahl](https://wordpress.org/support/users/mdrovdahl/)
 * (@mdrovdahl)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-in-css_customizer-php/)
 * Greetings. Since the 2.0 release we’re getting fatal errors in the Tooltip Preview
   iframe that appear to be related to passing an empty Array into the second parameter
   of the `generate_css_selector()` function. See below…
 * When seeking help with this issue, you may be asked for some of the following
   information:
    WordPress version 5.6 Current theme: (version ) Current plugin:
   Glossary (Premium) (version 2.0) PHP version 7.3.25
 * Error Details
    ============= An error of type E_ERROR was caused in line 235 
   of the file /srv/htdocs/wp-content/plugins/glossary-by-codeat-premium/frontend/
   Css_Customizer.php. Error message: Uncaught TypeError: Argument 2 passed to Glossary\
   Frontend\Css_Customizer::generate_css_proprierty() must be of the type string,
   null given, called in /srv/htdocs/wp-content/plugins/glossary-by-codeat-premium/
   frontend/Css_Customizer.php on line 216 and defined in /srv/htdocs/wp-content/
   plugins/glossary-by-codeat-premium/frontend/Css_Customizer.php:235 Stack trace:#
   0 /srv/htdocs/wp-content/plugins/glossary-by-codeat-premium/frontend/Css_Customizer.
   php(216): Glossary\Frontend\Css_Customizer->generate_css_proprierty(‘color’, 
   NULL) #1 /srv/htdocs/wp-content/plugins/glossary-by-codeat-premium/frontend/Css_Customizer.
   php(87): Glossary\Frontend\Css_Customizer->generate_css_selector(‘.glossary-toolt…’,
   Array) #2 /srv/htdocs/wp-content/plugins/glossary-by-codeat-premium/backend/views/
   preview.php(93): Glossary\Frontend\Css_Customizer->print_css() #3 /srv/htdocs/
   wp-content/plugins/glossary-by-codeat-premium/backend/Settings_Page.php(86): 
   include_once(‘/srv/htdocs/wp-…’) #4 /wordpress/core/5.6/wp-includes/class-wp-
   hook.php(287): Glossary\Backend\Settings_Page->preview__premium_only(”) #5 /wordpress/
   core/5.6/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)#
   6 /wordpress/core/5.6/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #
   7 /wordpress/core/5.6/wp-settings.php(557): do_action(‘init’) #8 /srv/htdocs/
   wp-config.php(92): require_once(‘/wordpress/core…’) #9 /wordpress/core/5.6/wp-
   load.php(42): require_once(‘/srv/htdocs/wp-…’) #10 /wordpress/core/5.6/wp-admin/
   admin.php(34): require_once(‘/wordpress/core…’) #11 /wordpress/core/5.6/wp-admin/
   index.php(10): require_once(‘/wordpress/core…’) #12 {main} thrown

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Daniele Scasciafratte](https://wordpress.org/support/users/mte90/)
 * (@mte90)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-in-css_customizer-php/#post-13845423)
 * Hi, it is a bug of the premium version, so you could open a ticket on [https://support.codeat.co/](https://support.codeat.co/)
 * Anyway seems a bug because a parameter is not configured in the plugin but I 
   will find a workaround.
 *  Plugin Author [Daniele Scasciafratte](https://wordpress.org/support/users/mte90/)
 * (@mte90)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-in-css_customizer-php/#post-13845440)
 * I am releasing a new version with a bugfix.
 *  Thread Starter [Mark Drovdahl](https://wordpress.org/support/users/mdrovdahl/)
 * (@mdrovdahl)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-in-css_customizer-php/#post-13845445)
 * Thanks [@mte90](https://wordpress.org/support/users/mte90/). I’ll test your update(
   when released) and report back =)
 *  Thread Starter [Mark Drovdahl](https://wordpress.org/support/users/mdrovdahl/)
 * (@mdrovdahl)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-in-css_customizer-php/#post-13845606)
 * V2.0.2 solved it. Thanks [@mte90](https://wordpress.org/support/users/mte90/)
   and a happy new year to you =)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error in Css_Customizer.php’ is closed to new replies.

 * ![](https://ps.w.org/glossary-by-codeat/assets/icon-256x256.png?rev=1889092)
 * [Glossary](https://wordpress.org/plugins/glossary-by-codeat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/glossary-by-codeat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/glossary-by-codeat/)
 * [Active Topics](https://wordpress.org/support/plugin/glossary-by-codeat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/glossary-by-codeat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/glossary-by-codeat/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mark Drovdahl](https://wordpress.org/support/users/mdrovdahl/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-in-css_customizer-php/#post-13845606)
 * Status: resolved