Internal Server Error on getBaseSeoLink

Hi,

ich get an Internal Server Error while executing code like this in functions.php:

$seourl = $oArticle->getBaseSeoLink(0,0);

i assume this happens when the seo link for an article is not yet created.
when is the seo link for a produkt generated anyway?

Regards,
Erich

In original code, SEO links for articles are created when a page the uses them is loaded for the first time. However, they are made using that same function. That is, getting an SEO link will create the link if it’s not found. So I think you have some other problem. Could be anything, just need to debug.