Author Topic: error on clic View Inventory  (Read 1979 times)

Offline robin cracker

error on clic View Inventory
« on: June 27, 2007, 04:53:24 am »
good mod is very usefful to animate the forum, i install in smf  rc2 work ok but when clic in View Inventory appear this error
Fatal error: Function name must be a string in /xxx/.xxxxx/smf/Sources/shop/Shop-Inventory.php on line 271

in this line are
 // Loop through all the names found
        foreach ($members as $index => $member)
                if (strlen(trim($member)) > 0)
                        $members[$index] = $func['htmlspecialchars']($func['strtolower'](stripslashes(trim($member))));
                else
                        unset($members[$index]);

my version is 3.0 and use smf4seo.

thanks

Offline Daniel15

Re: error on clic View Inventory
« Reply #1 on: June 30, 2007, 04:39:08 pm »
Since you're running SMF 1.1 RC2, try replacing
Code: [Select]
$func['htmlspecialchars']($func['strtolower'](stripslashes(trim($member))));
with:
Code: [Select]
htmlspecialchars(strtolower(stripslashes(trim($member))));

You should really upgrade to the latest version of SMF, by the way ;)