Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
[User Error] Object::__call() Method 'providePermissions' not found in class 'SiteTree' GET /silverstripetest/admin/security/ Line 133 in /Applications/xampp/xamppfiles/htdocs/silverstripetest/sapphire/core/Object.php Source 124 125 } else if($config['function_str']) { 126 $function = Object::$extraMethods[$this->class][strtolower($methodName)]['function'] = create_function('$obj, $args', $config['function_str']); 127 return $function($this, $args); 128 129 } else { 130 user_error("Object::__call() Method '$methodName' in class '$this->class' an invalid format: " . var_export(Object::$extraMethods[$this->class][$methodName],true), E_USER_ERROR); 131 } 132 } else { 133 user_error("Object::__call() Method '$methodName' not found in class '$this->class'", E_USER_ERROR); 134 } 135 } 136 137 /** 138 * This function allows you to overload class creation methods, so certain classes are 139 * always created correctly over your system. Trace * Object::__call() Method 'providePermissions' not found in class 'SiteTree' Line 133 of Object.php * Object->__call(providePermissions,Array) * SiteTree->providePermissions() Line 439 of Permission.php * Permission::get_codes(1) Line 11 of PermissionDropdownField.php * PermissionDropdownField->__construct(Permissions[new][Code][],Code) Line 731 of TableField.php * TableField_Item->createFields() Line 644 of TableField.php * TableField_Item->__construct(,TableField,,Array,1) Line 192 of TableField.php * TableField->Items() * call_user_func_array(Array,Array) Line 551 of ViewableData.php * ViewableData->cachedCall(Items,,) Line 592 of ViewableData.php * ViewableData->hasValue(Items) Line 404 of .cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.sapphire.templates.TableField.ss * include(/private/var/folders/Sh/Sh2pRDQdHcmHipJXbDgbpU+++TI/-Tmp-/silverstripe-cache-Applications-xampp-xamppfiles-htdocs-silverstripetest/.cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.sapphire.templates.TableField.ss) Line 328 of SSViewer.php * SSViewer->process(TableField) Line 774 of ViewableData.php * ViewableData->renderWith(TableField) Line 478 of TableField.php * TableField->FieldHolder() * call_user_func_array(Array,Array) Line 409 of ViewableData.php * ViewableData->XML_val(FieldHolder,,1) Line 74 of .cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.sapphire.templates.TabSetFieldHolder.ss * include(/private/var/folders/Sh/Sh2pRDQdHcmHipJXbDgbpU+++TI/-Tmp-/silverstripe-cache-Applications-xampp-xamppfiles-htdocs-silverstripetest/.cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.sapphire.templates.TabSetFieldHolder.ss) Line 328 of SSViewer.php * SSViewer->process(TabSet) Line 774 of ViewableData.php * ViewableData->renderWith(TabSetFieldHolder) Line 62 of TabSet.php * TabSet->FieldHolder() * call_user_func_array(Array,Array) Line 409 of ViewableData.php * ViewableData->XML_val(FieldHolder,,1) Line 64 of .cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.sapphire.templates.Includes.Form.ss * include(/private/var/folders/Sh/Sh2pRDQdHcmHipJXbDgbpU+++TI/-Tmp-/silverstripe-cache-Applications-xampp-xamppfiles-htdocs-silverstripetest/.cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.sapphire.templates.Includes.Form.ss) Line 328 of SSViewer.php * SSViewer->process(Form) Line 774 of ViewableData.php * ViewableData->renderWith(Array) Line 905 of Form.php * Form->forTemplate() Line 425 of ViewableData.php * ViewableData->XML_val(EditForm,,1) Line 14 of .cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.cms.templates.Includes.SecurityAdmin_right.ss * include(/private/var/folders/Sh/Sh2pRDQdHcmHipJXbDgbpU+++TI/-Tmp-/silverstripe-cache-Applications-xampp-xamppfiles-htdocs-silverstripetest/.cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.cms.templates.Includes.SecurityAdmin_right.ss) Line 328 of SSViewer.php * SSViewer->process(SecurityAdmin) Line 774 of ViewableData.php * ViewableData->renderWith(Array) Line 352 of LeftAndMain.php * LeftAndMain->Right() * call_user_func_array(Array,Array) Line 409 of ViewableData.php * ViewableData->XML_val(Right,,1) Line 71 of .cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.cms.templates.LeftAndMain.ss * include(/private/var/folders/Sh/Sh2pRDQdHcmHipJXbDgbpU+++TI/-Tmp-/silverstripe-cache-Applications-xampp-xamppfiles-htdocs-silverstripetest/.cache.Applications.xampp.xamppfiles.htdocs.silverstripetest.cms.templates.LeftAndMain.ss) Line 328 of SSViewer.php * SSViewer->process(SecurityAdmin) Line 175 of Controller.php * Controller->handleAction(HTTPRequest) Line 107 of RequestHandler.php * RequestHandler->handleRequest(HTTPRequest) Line 122 of Controller.php * Controller->handleRequest(HTTPRequest) Line 257 of Director.php * Director::handleRequest(HTTPRequest,Session) Line 106 of Director.php * Director::direct(/admin/security/) Line 111 of main.php
This paste will be private.
From the Design Piracy series on my blog: