I enabled the module Advanced CSS/JS Aggregation (advagg) 7.x-2.17 on Drupal 7 and now in my admin page admin/config/development/performance/advagg/font
I see a warning:
Trying to get property of non-object in advagg_font_admin_settings_form() (line 31 of .../modules/advagg/advagg_font/advagg_font.admin.inc).
What is going on? Did I configure the module incorrectly?
My webserver is Apache 2.2.15 (CentOS).
The line in question is:
And the object is created at the beginning of the file:
Given you are still running Apache 2.2, you probably don't have the latest CentOS release. It might be that your root certificates are outdated, or your HTTPS handling is broken in other ways: this happens often to old software, since websites switched to more secure encryption.
As long as you can't upgrade or fix your server, switching
https://
tohttp://
is the workaround.