jpahullo / moodle-tool_mergeusers

Merge users script for Moodle
https://moodle.org/plugins/view.php?plugin=tool_mergeusers
22 stars 51 forks source link

strpos(): Passing null to parameter #1 ($haystack) #251

Closed y0d4a closed 11 months ago

y0d4a commented 1 year ago

Hi, is this Moodle/php version issue related or the plugin itself? After installing and trying to merge some users, I got a bunch of these errors:

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /bitnami/moodle/lib/classes/plugininfo/base.php on line 288

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /bitnami/moodle/lib/mustache/src/Mustache/Loader/FilesystemLoader.php on line 133

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /bitnami/moodle/lib/mustache/src/Mustache/Loader/FilesystemLoader.php on line 133

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /bitnami/moodle/lib/mustache/src/Mustache/Loader/FilesystemLoader.php on line 133

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /bitnami/moodle/lib/mustache/src/Mustache/Loader/FilesystemLoader.php on line 133

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /bitnami/moodle/lib/mustache/src/Mustache/Loader/FilesystemLoader.php on line 133

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /bitnami/moodle/lib/mustache/src/Mustache/Loader/FilesystemLoader.php on line 133

Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /bitnami/moodle/lib/classes/output/mustache_helper_collection.php on line 172
jpahullo commented 11 months ago

Hi @y0d4a ,

This is something related to Moodle core. Maybe you are using some PHP version not supported yet by the Moodle version you are using.

I am closing this, since it is not related to this plugin.

Thanks for reporting,

Jordi