You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been struggling with this for the past few days and finally have, I think, it fixed on my system. Moodle 3.4 necessitates updating to PHP 7. In PHP 7's documentation it says that "New objects cannot be assigned by reference", which I think is done in the auth.php script line 170. As per a post on Moodle's forum I changed object(); to stdclass(); and new drupal users were synced with Moodle. I don't know enough PHP to determine if there are any repercussions other than finally being able to sync new users.
The text was updated successfully, but these errors were encountered:
Is the plugin and synchronization working after the change you have outlined? I'm currently running moodle 3.3 with PHP 5.6, but I will need to upgrade to moodle 3.4 o 3.5 in the future, so Iwould like to maintain the functionality provided by the moodle-drupalservices plugin, but I couldn't make it work with PHP 7 as is...
I have been struggling with this for the past few days and finally have, I think, it fixed on my system. Moodle 3.4 necessitates updating to PHP 7. In PHP 7's documentation it says that "New objects cannot be assigned by reference", which I think is done in the auth.php script line 170. As per a post on Moodle's forum I changed object(); to stdclass(); and new drupal users were synced with Moodle. I don't know enough PHP to determine if there are any repercussions other than finally being able to sync new users.
The text was updated successfully, but these errors were encountered: