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/sortable_fancybox_gallery/models/sortable_fancybox_gallery.php
// for backward compatibility with previous php versions
if(!class_exists('ConcreteObject') && class_exists('Object')){
    class ConcreteObject extends Object {}
}
// for compatibility with c5.6.4
class SortableFancyboxGallery 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.