Jump to content

ID already defined


John01

Recommended Posts

Hi

 

I am getting a bunch of below warnings. What do they mean and how can they be fixed?

 

Thanks

 

Regards

 

! ) Warning: XSLTProcessor::transformToXml(): ID timesheet-wrapper already defined in C:\HS\Client Portal Mobile\includes\dataaccess.php on line 29 Call Stack # Time Memory Function Location 1 0.0330 137944 {main}( ) ...\settimesheet.php:0 2 0.0370 217600 Core->GetBookedJobsStaffForTimesheet( ???, ???, ??? ) ...\settimesheet.php:17 3 1.1201 307416 Core->TransformXml( ???, ??? ) ...\dataaccess.php:194 4 1.1231 308144 transformToXml ( ??? ) ...\dataaccess.php:29

 

( ! ) Warning: XSLTProcessor::transformToXml(): ID timeoptions already defined in C:\HS\Client Portal Mobile\includes\dataaccess.php on line 29 Call Stack # Time Memory Function Location 1 0.0330 137944 {main}( ) ...\settimesheet.php:0 2 0.0370 217600 Core->GetBookedJobsStaffForTimesheet( ???, ???, ??? ) ...\settimesheet.php:17 3 1.1201 307416 Core->TransformXml( ???, ??? ) ...\dataaccess.php:194 4 1.1231 308144 transformToXml ( ??? ) ...\dataaccess.php:29

 

( ! ) Warning: XSLTProcessor::transformToXml(): ID houroptions already defined in C:\HS\Client Portal Mobile\includes\dataaccess.php on line 29 Call Stack # Time Memory Function Location 1 0.0330 137944 {main}( ) ...\settimesheet.php:0 2 0.0370 217600 Core->GetBookedJobsStaffForTimesheet( ???, ???, ??? ) ...\settimesheet.php:17 3 1.1201 307416 Core->TransformXml( ???, ??? ) ...\dataaccess.php:194 4 1.1231 308144 transformToXml ( ??? ) ...\dataaccess.php:29

 

Link to comment
Share on other sites

Hi 

 

I have searched and IDs are not duplicate. I renamed them in any case and am still getting warnings.

 

Thanks

 

Regards 

 

 

( ! ) Warning: XSLTProcessor::transformToXml(): ID timesheet-wrapper1 already defined in C:\HS\Client Portal Mobile\includes\dataaccess.php on line 29 Call Stack # Time Memory Function Location 1 0.0080 138216 {main}( ) ...\settimesheet.php:0 2 0.0110 217872 Core->GetBookedJobsStaffForTimesheet( ???, ???, ??? ) ...\settimesheet.php:17 3 0.6470 307688 Core->TransformXml( ???, ??? ) ...\dataaccess.php:194 4 0.6480 308416 transformToXml ( ??? ) ...\dataaccess.php:29
Link to comment
Share on other sites

As the error message says, you still have a duplicate. You added a "1" to the ID but somehow there's another element that got the change. Is the XML being generated dynamically? Have you checked the XML in string form to see where "timesheet-wrapper1" appears?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.