Thank you for your answer!
Unfortunately, my hosting service (Aruba.it) does not allow me to downgrade the php version. I also contacted the support of the hosting service. But the answer was no:The php version is not editable.
Are there any other ways to solve this problem? Or to hide the writing “Warning: Creating default object… etc”?
Best regards,
MG