Redeclare of rel2abs()
I built a website using Site Sculptor and then attempted to add a framework plugin. This resulted in the following error:
Fatal error: Cannot redeclare rel2abs() (previously declared in /home/admin/public_html/webassist/framework/library.php:15) in /home/admin/public_html/WA_CMS/library.php on line 21
I attempted to rectify the problem by changing the following line in WA_CMS from
require_once("library.php");
to:
if (!function_exists('rel2abs') && !function_exists('abs2rel')) {
require_once("library.php");
}
That appears to get rid of the redeclare error, but now my plugin appears twice. Once in its proper location and again in the upper left hand corner of the page.
How can I correct this?
Many thanks!