Strict warning: Creating default object from empty value in block_class_form_alter() (line 27 of C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\drupal-ash-dev\sites\all\modules\block_class\block_class.module).
The above error appears on a clean install on windows 7 / apache 2.2.21 / php 5.3.8 / drupal 7.10 inside Structure - Blocks - Configure at the top.
Comments
Comment #1
Caffeine Addict commentedAdded setting of block as an object of php standard class to solve.
Comment #2
Morpheus0101 commentedAfter installing, I am getting the same strict warning message. Caffeine Addict seems to have solved it. How do I apply these changes. I would really appreciate someones help (i am not a programmer so please explain in simple terms). Thanks:)
Comment #3
Booranger commentedEdit block_class.module in notepad.
At about line 25 paste in Caffeine addicts code.
before:
after:
Save the file.
Comment #4
alan d. commentedI was going to suggest:
But the latest GIT version is already fixed via:
Either chance it with the latest GIT / dev version or ping the maintainer to do a new release.