petersmithca / humhub-adsense

Ad Sense Module for Humhub
8 stars 7 forks source link

Update Events.php #14

Open pandeybk opened 5 years ago

pandeybk commented 5 years ago

Fixing for new version, I was seeing issue

[07-Mar-2019 03:28:33] WARNING: [pool www] child 30 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Cannot use 'Object' as class name as it is reserved in /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/base/Object.php on line 28"
2019/03/07 03:28:33 [error] 27#27: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Cannot use 'Object' as class name as it is reserved in /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/base/Object.php on line 28" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /admin/module/list HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "localhost", referrer: "http://localhost/admin/module/list"
- -  07/Mar/2019:03:28:33 +0000 "GET /index.php" 200
2019-03-07 03:28:33 [172.17.0.1][1][8vh80cahmnvfei7cnhfqro33j1][error][yii\base\ErrorException:64] yii\base\ErrorException: Cannot use 'Object' as class name as it is reserved in /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/base/Object.php:28
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleFatalError()
#1 {main}
2019-03-07 03:28:33 [172.17.0.1][1][8vh80cahmnvfei7cnhfqro33j1][info][application] $_GET = []

$_SERVER = [
    'USER' => 'nginx'
    'HOME' => '/var/lib/nginx'
    'HTTP_COOKIE' => '_ga=GA1.1.1140673344.1544834660; _zammad_session_a138cfd0f37=b420286bd7c236381a34f2d6c1c9d327; pm_new-people-panel=expanded; pm_new-spaces-panel=expanded; pm_user-statistics-panel=expanded; pm_space-members-panel=expanded; pm_spaces-statistics-panel=expanded; io=EU5a5zkvTZy4BiPYAAAI; pm_getting-started-panel=expanded; pm_panel-activities=expanded; language=cb2dd83fb8024ab960f682458d766c316f932a14be6f5b9f8803a56f08fbbe7da%3A2%3A%7Bi%3A0%3Bs%3A8%3A%22language%22%3Bi%3A1%3Bs%3A2%3A%22en%22%3B%7D; pm_calendar-upcoming-events-snippet=expanded; PHPSESSID=8vh80cahmnvfei7cnhfqro33j1; _identity=e64e71963047a3f140455b8496f6533a4e09c38a8a5a4d9d8eaa8d4cb87660e0a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A50%3A%22%5B1%2C%227416b8b5-a671-49e7-a2b2-2638f1d5fd81%22%2C2592000%5D%22%3B%7D; _csrf=79ac9832e4e2990d8cd175763e4acde0b5ee3b3266e12c77ac5f44f19ec38321a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22dI1lhJ_6GjXPxDNtX6M_tpez28QCS04o%22%3B%7D'
    'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.9'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br'
    'HTTP_REFERER' => 'http://localhost/admin/module/list'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_HOST' => 'localhost'
    'SCRIPT_FILENAME' => '/var/www/localhost/htdocs/index.php'
    'PATH_INFO' => ''
    'REDIRECT_STATUS' => '200'
    'SERVER_NAME' => '_'
    'SERVER_PORT' => '80'
    'SERVER_ADDR' => '172.17.0.3'
    'REMOTE_PORT' => '34446'
    'REMOTE_ADDR' => '172.17.0.1'
    'SERVER_SOFTWARE' => 'nginx/1.14.2'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'REQUEST_SCHEME' => 'http'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'DOCUMENT_ROOT' => '/var/www/localhost/htdocs'
    'DOCUMENT_URI' => '/index.php'
    'REQUEST_URI' => '/admin/module/list'
    'SCRIPT_NAME' => '/index.php'
    'CONTENT_LENGTH' => ''
    'CONTENT_TYPE' => ''
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'FCGI_ROLE' => 'RESPONDER'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1551929313.2467
    'REQUEST_TIME' => 1551929313
]