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.
After enable the latest version (including all submodules) at once got this:
Fatal error: Only variables can be passed by reference in /home/MYSITE/public_html/sites/all/modules/advagg/advagg.module on line 500
Comments
Comment #1
warmth CreditAttribution: warmth commentedSeems like the issue appear if you have jQuery Update installed (even if the CDN options are not enabled). I manually installed ACJA and reinstalled it via Drupal module installer, all went right, went to admin/reports/status and it reported the problems with jQuery Update as warnings, then i went to jU admin and enabled CDN there getting the Fatal Error again.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedWhat theme are you using? Line 500 is assuming you have a page_top defined. Also go to
admin/config/development/advagg/info
and under "Hook Theme Info", what is listed there? The code that is causing the fatal error is copied directly from core$variables['page_top'] = drupal_render($variables['page']['page_top']);
template_process_html().I tried to repo the reported bug and I couldn't get any errors.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedI did a search of all themes and modules #1946218: test with other modules & themes & didn't find a smoking gun that would cause this. I need more feedback in order to repo the bug. Marking as postponed until I get feedback.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedClosing this issue as I can't repo it.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commented#1986326: PHP fatal errors on advagg.module line 535: Only variables can be passed by reference