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

Creating new section throws error #7

Open
dtan opened this issue Jul 23, 2012 · 1 comment
Open

Creating new section throws error #7

dtan opened this issue Jul 23, 2012 · 1 comment

Comments

@dtan
Copy link
Contributor

dtan commented Jul 23, 2012

Ok, this one i'm not really sure what to do here. When I go to create a new section, I get this error:

Symphony Warning: Missing argument 1 for fieldEntry_Versions::__construct(), called in /site/symphony/lib/toolkit/class.fieldmanager.php on line 534 and defined

An error occurred in /site/extensions/entry_versions/fields/field.entry_versions.php around line 8

3     require_once(EXTENSIONS . '/entry_versions/lib/class.entryversionsmanager.php');
4     require_once(EXTENSIONS . '/entry_versions/lib/class.domconverter.php');
5     
6     Class fieldEntry_Versions extends Field{    
7         
8         function __construct(&$parent){
9             parent::__construct($parent);
10             $this->_name = __('Entry Versions');
11             $this->_required = false;
12         }
Backtrace
[/site/extensions/entry_versions/fields/field.entry_versions.php:8]
    GenericErrorHandler::handler();
[/site/symphony/lib/toolkit/class.fieldmanager.php:534]
    fieldEntry_Versions->__construct();
[/site/symphony/content/content.blueprintssections.php:229]
    FieldManager::create();
[/site/symphony/lib/toolkit/class.administrationpage.php:602]
    contentBlueprintsSections->__viewNew();
[/site/symphony/lib/toolkit/class.administrationpage.php:559]
    AdministrationPage->__switchboard();
[/site/symphony/lib/toolkit/class.administrationpage.php:413]
    AdministrationPage->view();
[/site/symphony/lib/core/class.administration.php:228]
    AdministrationPage->build();
[/site/symphony/lib/core/class.administration.php:381]
    Administration->__buildPage();
[/site/index.php:25]
    Administration->display();

This is with sym 2.3

@nickdunn
Copy link
Contributor

Chances are I'll never update this extension for 2.3 as it's pretty experimental and brittle. You may be better off using http://symphonyextensions.com/extensions/versioning/

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

No branches or pull requests

2 participants