- Cannot Redeclare Timestamp_to_iso8601()
Fatal Error: Cannot Redeclare Timestamp_to_iso8601 Previously Declared In Soap.lib.php On Line 455 , Last Updated: Wed Mar 02, 2022
Mon Jan 25, 2010
Welcome to Webune. Webune provides hosting to PHP programmers like you.
Today's support questions is regarding ISPConfig and Remote Frameworks. A user was trying to run the script when he received this error and reported to us:Fatal error: Cannot redeclare timestamp_to_iso8601() (previously declared in /var/www/web1/web/ispconfig/soap.lib.php:435) in /var/www/web1/web/ispconfig/soap.lib.php on line 455
so how do you fix it?
look for this code:
replace it with:
as you can see, by using the include_once function instead of the include() function, PHP is will only include the connect-remote.php file only once so there is no confusion for repeating the same functions, thus, giving you this error.