"Notice: Use of undefined constant __DIR__" in PHP 5.2
-
Hello,
there’s the following warning notice in the top of the admin panel after I activated the plugin on the server:
Notice: Use of undefined constant __DIR__ – assumed ‘__DIR__’ in /…/wp-content/plugins/easy-facebook-likebox/admin/easy-facebook-likebox-admin.php on line 80
It’s PHP 5.2, so __DIR__ won’t work in such cases (in opposite to dirname(__FILE__) )
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘"Notice: Use of undefined constant __DIR__" in PHP 5.2’ is closed to new replies.