Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Error email from SilverStripe


Go to End


3 Posts   670 Views

Avatar
Sly

Community Member, 4 Posts

21 August 2014 at 8:59am

Hi I'm receiving this email from my SilverStripe site. Any ideas on what's causing this and what to do to fix it?

Error at sapphire/core/control/ModelAsController.php line 87 (http://www.my-clients-website.com/news-and-views/blogs/Vine-users-warned-not-to-post-Premier-League-footage//no_facebook_preview_picture.jpg)

Error: Uncaught Exception: ModelAsController->getNestedController(): was not passed a URLSegment value.
At line 87 in /var/www/web/sapphire/core/control/ModelAsController.php

Many thanks.

Avatar
Willr

Forum Moderator, 5523 Posts

28 August 2014 at 9:45pm

This should be one of the errors resolved in 3.1.6 with this patch. Sounds like you're on 2.4 so perhaps a good time to upgrade to 3.1.

https://github.com/silverstripe/silverstripe-cms/pull/1039

Avatar
martimiz

Forum Moderator, 1391 Posts

29 August 2014 at 4:53am

Just curious - 'not passed an URLSegment' and the double slash in the URL befoure the filename... Mostly I think double slashes are ignored, but maybe... Can you reproduce the error by requesting that url from the errormessage?