• Resolved daveporter

    (@daveporter)


    I’m doing some testing in 4.4 RC1
    And when I go into the Customizer, I get the following error.

    I’m using the Beaver Builder theme and page designer
    Just letting you know in case this is something you need to look at!

    I de-activated AGP and the error goes away

    Cheers, Dave

    Fatal error: Uncaught exception ‘Less_Exception_Chunk’ with message ‘ParseError: Unexpected input in anonymous-file-0.less on line 2275, column 3 2273| margin-right: auto; 2274| -webkit-font-smoothing: antialiased; 2275| -moz-osx-font-smoothing: grayscale; 2276| span:before { 2277| color: @accent-color; 2278| }’ in /home/touchstone/public_html/ihs/wp-content/plugins/agp-font-awesome-collection/vendor/oyejorge/less.php/lib/Less/Parser.php:543 Stack trace: #0 /home/touchstone/public_html/ihs/wp-content/plugins/agp-font-awesome-collection/vendor/oyejorge/less.php/lib/Less/Parser.php(487): Less_Parser->GetRules(NULL) #1 /home/touchstone/public_html/ihs/wp-content/plugins/agp-font-awesome-collection/vendor/oyejorge/less.php/lib/Less/Parser.php(315): Less_Parser->_parse() #2 /home/touchstone/public_html/ihs/wp-content/plugins/agp-font-awesome-collection/vendor/oyejorge/less.php/lessc.inc.php(124): Less_Parser->parse(‘/*\n\nWARNING! DO…’) #3 /home/touchstone/public_html/ihs/wp-content/themes/bb-theme/classes/class in /home/touchstone/public_html/ihs/wp-content/plugins/agp-font-awesome-collection/vendor/oyejorge/less.php/lib/Less/Parser.php on line 543

    https://www.ads-software.com/plugins/agp-font-awesome-collection/

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

    (@agolubnichenko)

    Hi, Dave!

    Let’s look at this error.

    We get a fatal error in the file:

    /wp-content/plugins/agp-font-awesome-collection/vendor/oyejorge/less.php

    This file is actually located inside my plugin and is a part of the third-party PHP library: https://lessphp.gpeasy.com/
    This library is used to integrate LESS technology into a PHP project and I plan to use it in my plugin into the near future. To date, the current version of the library: 1.7.0.9. My plugin includes this latest version.

    Let’s go back to our error.
    The error occurs when you try to parse the code:

    Unexpected input in anonymous-file-0.less on line 2275, column 3 2273| margin-right: auto; 2274| -webkit-font-smoothing: antialiased; 2275| -moz-osx-font-smoothing: grayscale; 2276| span:before { 2277| color: @accent-color; 2278| }

    But this code and LESS variable @accent-color is not in my plugin.

    From this we can draw the following conclusions:

    1) Your Theme or one of your plugins uses Less.php library too and has its ‘.less’ file with styles and own LESS variables;
    2) Normally, in such a case, for parsing of the ‘.less’ files uses the first available library. This is a library from the my plugin with a latest version.
    3) As a result, we have a fatal error when uses the latest version of the Less.php library (1.7.0.9). It can be concluded that your Theme or one of your plugins uses earlier version of the Less.php library, with which there is conflict.
    4) When You turn off my plugin, then works other library whith an earlier version that conflicts do not arise.

    Now about the solution of this problem.

    Unfortunately, I think, that is wrong if there is a newer version to use older. Therefore, it seems to me, you need to determine where is a problem realy and write about this issue to support service of plugin or theme for updating Less.php library to the latest version and fixing errors in the .less file.

    I hope this information was helpful to you.
    With kind regards
    Alexey

    p/s/: Sorry for my english

    Plugin Author Alexey Golubnichenko

    (@agolubnichenko)

    Currently I mark this topic as resolved. If you have other questions or comments you can reopen this topic or create a new one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Testing WP 4.4’ is closed to new replies.