Issue in block html

Issue in block html

by Andreas R. -
Number of replies: 3

After Upgrade to 3.4.1+ (Build: 20180216) we have the problem that the text blocks are empty, debug shows:

Notice: block_html::specialization(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "object" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /moodle/blocks/html/block_html.php on line 40

Notice: block_html::instance_can_be_docked(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "object" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /moodle/blocks/html/block_html.php on line 156

Notice: block_html::get_content(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "object" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /moodle/blocks/html/block_html.php on line 69

Notice: block_html::instance_can_be_docked(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "object" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /moodle/blocks/html/block_html.php on line 156


Please help us.

Server runs with PHP 7.0.27

MySQL 5.6.34


Greets Andy

Average of ratings: -
In reply to Andreas R.

Re: Issue in block html

by Adrian Greeve -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers

Hello Andreas,

The problem that you are experiencing has been reported in the tracker. The issue number is MDL-61268.

Unfortunately all of the HQ Developers are busy trying to be compliant with the general data protection regulation (GDPR) and so fixing these issues is slow. Please bear with us.

Average of ratings: Useful (1)
In reply to Adrian Greeve

Re: Issue in block html

by Andreas R. -

Hey Adrian

Thanks, after i post, i see the entry in the issue tracker und i see that a fix come with the next weekly version.


Thanks for the information, we will wait!


Greetings Andy