TinyPortal
Development => Support => Topic started by: pheasant_plucker on January 15, 2012, 09:01:26 AM
I'm getting this error after upgrading to TP1.0 RC3
Wrong value type sent to the database. Integer expected. (artid)
Function: TPmodules
File: Sources/TPmodules.php Line: 999
elseif(substr($what, 0, 16) == 'tp_article_intro')
$val = substr($what, 16);
$smcFunc['db_query']('', '
UPDATE {db_prefix}tp_articles
SET intro = {string:intro}
WHERE shortname = {string:artid}',
array('intro' => $value, 'artid' => $val)
);
Any help would be really appreciated.
Gerry
Looks to me like your file didn't get updated. If you are running RC3 and getting that error I'd suggest you upload the TP files again. This error was already corrected in the RC3 release.