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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Flush Uncaught Exception: & Pagetype Broken Link Icon

Go to End

5 Posts   1472 Views


Community Member, 4 Posts

9 May 2011 at 1:29pm

[User Error] Uncaught Exception: Object->__call(): the method 'flush=all' does not exist on 'DevelopmentAdmin'
GET /dev/flush=all

Line 724 in /home/gutmedco/public_html/sapphire/core/Object.php

716 default :
717 throw new Exception (
718 "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
719 );
720 }
721 } else {
722 // Please do not change the exception code number below.
724 throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'", 2175);
725 }
726 }
728 // -----------------------------------------------------------------------------------------------------------------
730 /**


* Object->__call(flush=all,Array)
Line 143 of RequestHandler.php
* DevelopmentAdmin->flush=all(SS_HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
* Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
* Director::direct(/dev/flush=all)
Line 127 of main.php

Also if I try to change a page type in the admin "save" it shows up a red broken link icon.

Works fine on my localhost and we did upgrade our server so I suspect something is conflicting... or does not have the write permissions. Any ideas?

Thanks Sefton.


Community Member, 473 Posts

9 May 2011 at 1:47pm

The first problem is because you're visiting dev/flush=all, not dev/build.

For the second problem, if you are running in dev mode the server will be returning an error message. You can use something like the Web Inspector to see what the result and error message are.


Community Member, 4 Posts

9 May 2011 at 3:46pm


So dev/build will also flush?

I notice it only records on the server error log not the silverstripe root even when set to Dev


Community Member, 473 Posts

9 May 2011 at 3:51pm

dev/build contains an implicit flush, but it won't flush the template cache. ?flush=all won't do anything when running dev/build, as the template system needs to be instigated for its cache to get flushed.

If you're not get an error from SilverStripe, it is most likely a PHP error. Maybe something like a missing class. Are you able to access your server's error log?


Community Member, 4 Posts

9 May 2011 at 4:12pm


All fixed - I just reuploaded the site and double checked all the permissions.

I also had to recreate pages the use the userforms module to get these to load.

I do have access to the server error log so I will check that to see what the problem was in the first place.