Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing a fresh 4.1 site with MySQL and block_carousel #49

Open
jaypha opened this issue Aug 11, 2023 · 0 comments
Open

Comments

@jaypha
Copy link
Contributor

jaypha commented Aug 11, 2023

Exception - mysqli::real_escape_string(): Argument #1 ($string) must be of type string, array given

More information about this error

It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix if you want to retry the installation.
Debug info:
Error code: generalexceptionmessage
Stack trace:

line 1145 of /lib/dml/mysqli_native_moodle_database.php: TypeError thrown
line 1145 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli->real_escape_string()
line 1357 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->emulate_bound_params()
line 1408 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 1318 of /lib/upgradelib.php: call to mysqli_native_moodle_database->insert_record()
line 648 of /lib/upgradelib.php: call to external_update_descriptions()
line 1108 of /lib/upgradelib.php: call to upgrade_component_updated()
line 684 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1967 of /lib/upgradelib.php: call to upgrade_plugins()
line 726 of /admin/index.php: call to upgrade_noncore()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant