cotonti.com : A variable type check failed, expecting... https://www.cotonti.com Laatste forum onderwerpen Cotonti en Sat, 21 Feb 2026 17:30:28 -0000 Lombi Thu, 15 Okt 2009 22:16:59 -0000 donP
Solved!
A plugin hooking header was checking actual url and searching for an integer variable ($s) but many urls have got alphanumerical "s" in them (list.php for example)... ;)]]>
Thu, 15 Okt 2009 22:09:33 -0000
Lombi
Make a list of all the things hooking into header and footer, uninstall them all and see if the problem's still there. If it's not, you have a problematic plugin. Install them one by one until you find the culprit.]]>
Thu, 15 Okt 2009 18:07:15 -0000
donP I'm using the same plugins I used in Seditio and never had those entries in the past...]]> Thu, 15 Okt 2009 17:29:48 -0000 Lombi Thu, 15 Okt 2009 16:32:07 -0000 donP The problem is frequent also in list.php and other core modules... also when I navigate the site logged as Admin (so, it isn't a problem related to robots or spiders), in fact, the log, reports I'm causing those bad entries myself...
Moreover, those entries are present in usergallery plugin wich hasn't got $s variable! :O
For these reasons I was hinking about a bad behaviour of sed_import() function...]]>
Thu, 15 Okt 2009 15:54:12 -0000
Trustmaster system/core/admin/admin.inc.php you most likely will find this at line 28:
$s = sed_import('s', 'G', 'ALP', 24);
Which is G/ALP, not G/INT...]]>
Thu, 15 Okt 2009 02:10:09 -0000
donP A variable type check failed, expecting G/INT for 's' : disk - /admin.php?m=cache&s=disk

Since my SeditioTOCotonti migration, my System-log database table is full of this shit... it seems to be a problem in sed_import() function passing values.
At the beginning I thought it was a bad coding in some ported plugins, but, as you can see, this is a admin area problem... and many other entries refer to other core areas of the CMS itself...

What's the matter?
I'm tired of emptying the log every day 'cause the redundant datas in it... X-(]]>
Thu, 15 Okt 2009 00:53:16 -0000