• Hi,

    After upgrading my site from 4.8.4. to 4.9.2 i got this:

    Fatal error: Uncaught exception 'Less_Exception_Compiler' with message '.rgba is undefined in /home/emaus/public_html/wp-content/themes/dt-the7/css/custom-old-ie.less' in /home/emaus/public_html/wp-content/plugins/wcp-openweather/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php:148 Stack trace: #0 /home/emaus/public_html/wp-content/plugins/wcp-openweather/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Object(Less_Environment)) #1 /home/emaus/public_html/wp-content/plugins/wcp-openweather/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Object(Less_Tree_Ruleset), Object(Less_Environment), 1) #2 /home/emaus/public_html/wp-content/plugins/wcp-openweather/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment)) #3 /home/emaus/public_html/wp-content/plugins/wcp-openweather/vendor/oyejorge/less.php/lib/Less/Parser.php(198): Less_Tree_Ruleset->compile(Object(Less_Environment)) #4 /home/emaus/p in /home/emaus/public_html/wp-content/plugins/wcp-openweather/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php on line 148

    When I deactivate plugin, everything works fine. Main problem is that works when I edit my site (pages) with WPBakery Page builder, but when I try to save some changes in my theme options (I use The7 from ThemeForest).

    Anyone had same problem (error) and if yes, how did you resolve this?
    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebCodin

    (@webcodin)

    Based on error message, this error doesn’t related to WP update, however just in case we’ve checked our plugin for WP update from 4.8.2. to 4.9.2. and everything is working properly – https://wpdemo.webcodin.com/weather-forecast/

    Core error message is:

    ‘.rgba is undefined in /home/emaus/public_html/wp-content/themes/dt-the7/css/custom-old-ie.less’

    This meant that “the7” theme use dynamic LESS styling and has problem file (‘/themes/dt-the7/css/custom-old-ie.less’) that contains .rgba selector and this file is located in your theme.

    Our plugin also use LESS and we use third-party library “oyejorge/less.php” (https://github.com/oyejorge/less.php) v1.7.0.10 (latest version is v1.7.0.14). Since, described error appears in our plugin for this third-party library (/home/emaus/public_html/wp-content/plugins/wcp-openweather/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php:148) we may assume that your theme also use this library. In case, if site has several equal libraries, usually is used first one that included at the moment of page load. Based on this reason our plugin thing to process your file and at this moment error is appeared.

    Also, we may assume that together with WP update you also updated your theme. In case, if you didn’t have this error before, probably your theme did not contain “oyejorge/less.php” library or libraries had equal versions. Most likely, that after theme update, versions of the libraries began to be different and this can be core cause of this issue.

    In case, if original “the7” theme did not updated and doesn’t contain “oyejorge/less.php” libraray and ‘/themes/dt-the7/css/custom-old-ie.less’ file, possible it can be some custom solution that was added during development of your site. In this case, only “oyejorge / less.php” library has been updated.

    Unfortunately, we can not give you more information because:
    1) we are not developers of your site and do not have site source code for additional analysis of existed custom solutions
    2) we are not developers of the free library “oyejorge / less.php”
    3) we do not have the source code of the paid “the7” theme and are not responsible for any changes in this theme.

    Therefore, it is better way to contact support of this theme or to the developers of your site.

    Thread Starter pejoumag

    (@pejoumag)

    Thank you for your quick response.

    I have upgrade to latest version of my theme but now there is small error:

    .rgba is undefined in anonymous-file-0.less

    I will contact theme support. Thanks. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error on WP v4.9.2’ is closed to new replies.