Fatal error, notices, and warning on sites running PHP 5.2
-
I couldn’t use the plugin on one of test sites running PHP 5.2. I got the following errors upon activation (
WP_DEBUG
is set to true):Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /wp-content/plugins/log-viewer/admin/class-log-viewer-admin.php on line 158 Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /wp-content/plugins/log-viewer/includes/class-debugbar-integration.php on line 11 Warning: require_once(.//admin/class-log-viewer-admin.php) [function.require-once]: failed to open stream: No such file or directory in /wp-content/plugins/log-viewer/includes/class-debugbar-integration.php on line 11 Fatal error: require_once() [function.require]: Failed opening required './/admin/class-log-viewer-admin.php' (include_path='.:/usr/local/lib/php') in /home/jeherve/webapps/testwpnews/core/wp-content/plugins/log-viewer/includes/class-debugbar-integration.php on line 11
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error, notices, and warning on sites running PHP 5.2’ is closed to new replies.