diff options
Diffstat (limited to 'libs/upgradephp/upgrade.php')
-rw-r--r-- | libs/upgradephp/upgrade.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php index c6591b70a9..8c29af7c3a 100644 --- a/libs/upgradephp/upgrade.php +++ b/libs/upgradephp/upgrade.php @@ -702,3 +702,12 @@ if (!function_exists('dump')) { } } + +/** + * Need to catch that PHP7 error object on php5 + */ +if( !class_exists('\Error')) { + class Error { + + } +}
\ No newline at end of file |