Yep.
I know what the error means, I just don't know what's wrong and what to add/change.
This is the actual code that's failing
<code>
my $sth = $dbh->prepare("INSERT INTO $categories_table VALUES (NULL, '$catname', '$catdesc', NULL, NULL, '$caticon')");
$sth->execute;
if...