php7.2 compatibility

Permalink Browser Info Environment
A small change for anyone needing compatibility with php7.2. 'Object' is a reserved word, so the core is modified to declare ConcreteObject.
packages/skybluesofa_social_share/models/SkybluesofaSocializerInstaller.php
// For backward compatibility with older core versions
if(!class_exists('ConcreteObject') && class_exists('Object')){
    class ConcreteObject extends Object {}
}
// For c5.6.4 compatibility
class SkybluesofaSocializerInstaller
      extends ConcreteObject
{

Type: Pre-Sale
Status: New
JohntheFish
View Replies:

concrete5 Environment Information

php7.2

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.