Hi Felix,
this has absolutely no relation to the get_page_content() function.
It's quite simple, if the ItemManager is disabled, your code above will cause an error, since you turned off error reporting in gsconfig.php you won't get it visible.
It is therefore highly recommended to enable error reporting during code development, and if you are programming procedurally, it is always preferable to use the function_exists() to wrap your ItemManager code:
this has absolutely no relation to the get_page_content() function.
It's quite simple, if the ItemManager is disabled, your code above will cause an error, since you turned off error reporting in gsconfig.php you won't get it visible.
It is therefore highly recommended to enable error reporting during code development, and if you are programming procedurally, it is always preferable to use the function_exists() to wrap your ItemManager code:
PHP Code:
if(function_exists('imanager')) {
// ... your IM code
}