cotonti.com : A variable type check failed, expecting... https://www.cotonti.com Son konu mesajları Cotonti en Fri, 19 Dec 2025 16:26:02 -0000 Lombi Per, 15 Eki 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)... ;)]]>
Per, 15 Eki 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.]]>
Per, 15 Eki 2009 18:07:15 -0000
donP I'm using the same plugins I used in Seditio and never had those entries in the past...]]> Per, 15 Eki 2009 17:29:48 -0000 Lombi Per, 15 Eki 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...]]>
Per, 15 Eki 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...]]>
Per, 15 Eki 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-(]]>
Per, 15 Eki 2009 00:53:16 -0000