symphonycms/symphony-2 — Issue #1017: Publish index pagination
Author: nilshoerrmann
Created: 2012-02-21 11:53:28+00:00
State: open

Using latest `integration` code, when I'm browsing a section that needs to be paginated I get this error message:

Argument `$value` is not of type `string`, given `integer`.
/Users/nilshoerrmann/Sites/Symphony/symphony-2/symphony/lib/toolkit/class.general.php line 1363

1358	throw new InvalidArgumentException(__('Enforced type `%1$s` for argument `$%2$s` does not match any known variable types.', array($param['type'], $name)));
1359	}
1360
1361	// validate variable type
1362	if( !call_user_func($validator, $param['var']) ){
1363	throw new InvalidArgumentException(__('Argument `$%1$s` is not of type `%2$s`, given `%3$s`.', array($name, $param['type'], gettype($param['var']))));
1364	}
1365
1366	}
1367	}