Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice at line 173 of /mysite/framework/dev/Deprecation.php #14

Open
siorp opened this issue Feb 26, 2013 · 3 comments
Open

Notice at line 173 of /mysite/framework/dev/Deprecation.php #14

siorp opened this issue Feb 26, 2013 · 3 comments

Comments

@siorp
Copy link

siorp commented Feb 26, 2013

Hi!
After installing all the modules required, when i try to create a new Registerable Event under a calendar a pop up is shown: Notice at line 173 of /mysite/framework/dev/Deprecation.php.

After a refresh I can see the Registerable Event in the tree but it is impossible to click on it.

I can also see the page in the front end but when I click on it the following message is shown:
[User Error] Uncaught Exception: Object->__call(): the method 'calendarwidget' does not exist on 'SiteTree'
GET /silverstripe/nuova-registerable-event/
Line 675 in /Users/siorp/Dropbox/Siti/silverstripe/framework/core/Object.php
Source
666 default :
667 throw new Exception (
668 "Object->__call(): extra method $method is invalid on $this->class:"
669 . var_export($config, true)
670 );
671 }
672 } else {
673 // Please do not change the exception code number below.
674
675 throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'", 2175);
676 }
677 }
678
679 // --------------------------------------------------------------------------------------------------------------
680
681 /**
Trace
Object->__call(CalendarWidget,Array)
CalendarEvent.php:137
SiteTree->CalendarWidget()
CalendarEvent.php:137
CalendarEvent->CalendarWidget()
call_user_func_array(Array,Array)
Object.php:643
Object->__call(CalendarWidget,Array)
ViewableData.php:366
RegisterableEvent_Controller->CalendarWidget()
ViewableData.php:366
ViewableData->obj(CalendarWidget,,,1)
ViewableData.php:443
ViewableData->XML_val(CalendarWidget,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.eventmanagement.templates.Layout.RegisterableEvent.ss:23
SSViewer_DataPresenter->XML_val(CalendarWidget,,1)
.cache.eventmanagement.templates.Layout.RegisterableEvent.ss:23
include(/private/var/folders/p5/hj2gktjn531gj3hnzvvcrjnw0000gn/T/silverstripe-cache-Users-siorp-Dropbox-Siti-silverstripe/.cache.eventmanagement.templates.Layout.RegisterableEvent.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/folders/p5/hj2gktjn531gj3hnzvvcrjnw0000gn/T/silverstripe-cache-Users-siorp-Dropbox-Siti-silverstripe/.cache.eventmanagement.templates.Layout.RegisterableEvent.ss,RegisterableEvent_Controller,,Array)
SSViewer.php:910
SSViewer->process(RegisterableEvent_Controller,)
SSViewer.php:906
SSViewer->process(RegisterableEvent_Controller)
Controller.php:214
Controller->handleAction(SS_HTTPRequest)
RequestHandler.php:184
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:197
ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:68
ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/nuova-registerable-event/,DataModel)
main.php:126

Cheers.
Pier

@june-zz
Copy link

june-zz commented Sep 18, 2013

Did you ever resolve this issue? I'm getting the same "Notice at line 173 of /mysite/framework/dev/Deprecation.php" error message for standard pages in the admin.

@ajshort
Copy link
Contributor

ajshort commented Sep 18, 2013

What branch using?

@june-zz
Copy link

june-zz commented Sep 18, 2013

Andrew - I came upon this thread via a google search. I downloaded SilverStripe via the main website as opposed to checking out a branch. I'm using SilverStripe 3. I downloaded this in June so I'm thinking its version 3.0.2. I've also noticed that the pages that I can't open utilize some sort of module or custom field. This is actually an issue with my local development copy. I'm able to access all of the pages on the demo server. My local server is running php 5.4.10, I don't know what the demo server is running off hand. And suggestions would be great. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants