Statut de la synchronisation
The synchronization status between this Drupal site and your LimeSurvey site for the Answer id #12 from the survey #383113

the Answer id #12 from the survey #383113 is not synchronized : synchronize it.

So I am trying to synchronize the data.

And I have the following error :

Fatal error: Call to undefined method stdClass::label() in C:\wamp\www\casipe\sites\all\modules\limesurvey_sync\api\limesurvey_sync_api.class.inc on line 3118

and I have also this type of message:

Notice : Undefined property: stdClass::$ls_startdate dans limesurvey_sync_api_synchronize_page() (ligne 160 dans C:\wamp\www\casipe\sites\all\modules\limesurvey_sync\api\limesurvey_sync_api.pages.inc).

Any ideas??

Thanks

Didier

Comments

dihonore’s picture

Issue summary: View changes
thedut’s picture

Title: Fatal error: Call to undefined method stdClass::label() in C:\wamp\www\casipe\sites\all\modules\limesurvey_sync\api\limesurvey_sync_api.class.inc on line 3118 » Fatal error on synchronization
Assigned: Unassigned » thedut
Category: Support request » Bug report
StatusFileSize
new27.06 KB

Hello Didier,

Thank you for reporting this issue.
I was able to reproduce and fix the fatal error issue :

Fatal error: Call to undefined method stdClass::label() in C:\wamp\www\casipe\sites\all\modules\limesurvey_sync\api\limesurvey_sync_api.class.inc on line 3118

--> Replace the api/limesurvey_sync_api.class.inc and api/limesurvey_sync_api.pages.inc files by the ones from the provided zip file and refresh the cache before testing it.

Concerning the second issue :

(Notice : Undefined property: stdClass::$ls_startdate dans limesurvey_sync_api_synchronize_page() (ligne 160 dans C:\wamp\www\casipe\sites\all\modules\limesurvey_sync\api\limesurvey_sync_api.pages.inc).

I was not able to reproduce it, but apply the fix from this post and tell me if it fixes this issue.

thedut’s picture

Corresponding patch for the Fatal error issue.

thedut’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.