*

firesale

  • **
  • 15 posts
Constant ABS_PATH already defined in functions.php
« on: July 13, 2018, 11:55:08 PM »
While debugging I found this:

PHP Notice:  Constant ABS_PATH already defined in functions.php on line 3

Code: [Select]
  define('ABS_PATH', dirname(dirname(dirname(dirname(__FILE__)))) . '/');
It quickly fills up the debug log file. Besides that I don't know if it poses any danger.

*

MB Themes

Re: Constant ABS_PATH already defined in functions.php
« Reply #1 on: August 10, 2018, 01:16:14 PM »
Code: [Select]
if(!defined(ABS_PATH)) {
  define('ABS_PATH', dirname(dirname(dirname(dirname(__FILE__)))) . '/');
}

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots