SQL INSERT DOES NOT WORK #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What does it mean? (
last sql error)Invalid argument value: java.io.NotSerializableExceptionmy code:
execute "INSERT INTO disky (id, title, description, pattern, type, addon_name, addon_link, addon_version, last_updated, event_values, event_cancellable, type_usage, depends, tags) VALUES (%{_id}%, %{_title}%, %{_description}%, %{_pattern}%, %{_type}%, %{_addon_name}%, %{addon_link}%, %{_addon_version}%, %{_last_updated}%, %{_event_values}%, %{_event_cacellable}%, %{_type_usage}%, %{_depends}%, %{_filtered_tags}%)" in {sql}If I don't use variables, then it works. But I don't know if it's one variable or all variables.

The SQL Structure
this happens due to trying to insert unserializable data type, try to convert it to text
What exactly should I convert? the variables?
yes
yes
Thank you, that works. Another question: What does this warning mean?
[Skript] Cannot write variables to the database 'default' at sufficient speed; server performance may suffer and many variables will be lost if the server crashes. (this warning will be repeated at most once every 10 seconds)you are modifying disk variables too often, not related to this addon
okay thanks