Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Notice: Trying to get property of non-object in JSMinPlus->parseTree() (line 292 of /var/www/elmsln/core/dslmcode/shared/drupal-7.x/modules/ulmus/advagg/advagg_js_compress/jsminplus.inc).
Notice: Trying to get property of non-object in JSMinPlus->parseTree() (line 751 of /var/www/elmsln/core/dslmcode/shared/drupal-7.x/modules/ulmus/advagg/advagg_js_compress/jsminplus.inc).
Happens now and then right after installing a new distribution w/ the latest dev of advagg (well from like Friday).
Weird thing is that I don;t have that plugin / sub-module enabled (the advagg_js_compress)
Comment | File | Size | Author |
---|---|---|---|
#3 | advagg-2821558-2-ignore-jsmin-parse-issues.patch | 611 bytes | mikeytown2 |
Comments
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedWould have been nice if you had a backtrace of the error ;)
#1158322: Add backtrace to all errors
The callback most likely comes from this function advagg_does_js_start_with_use_strict(). I need a good way to see if a JS file starts with
"use strict";
so jsminplus does a great job of removing all comments making this detection easier.Given this info any chance of creating a repeatable bug? It'd be a js file that has
use strict
in it but doesn't start with it.Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedComment #5
mikeytown2 CreditAttribution: mikeytown2 commentedComment #6
btopro CreditAttribution: btopro commentedworked!