Removing a field by error

More
6 years 3 months ago - 6 years 3 months ago #74422 by Exphirian
Hello there. 
I've removed the presentation field by error and now when I try to create a new item or edit an existing one, I get a fatal error. 
I copy it to you, can someone help me because I don't find it alone ;) 

Fatal error: Call to a member function get() on null in /administrator/components/com_flexicontent/views/item/tmpl/default.php on line 713

And here's the PHP code who contains the line 713
Code:
<?php
Code:
$field = $this->fields['text'];
Code:
if ($field) {
Code:
$field_description = $field->description ? $field->description :
Code:
JText::_($this->form->getField('text')->description);
Code:
$_desc = flexicontent_html::getToolTip(null, $field_description, 0, 1);
Code:
} else {
Code:
$_desc = '';
Code:
}
Code:
if (
Code:
!$field->parameters->get('backend_hidden')  && //Line 713
Code:
!in_array($field->formhidden, array(2,3))   &&    // check to SKIP (hide) field via field DB table property 'form_hidden'
Code:
!$this->tparams->get('hide_'.$field->field_type)  // check to SKIP (hide) field via field parameter 'hidden_<fieldtype>'
Code:
) :
Code:
?>
Could someone give me some advice? 

Have all a good day. 
Cordialy. 
Eric Orlandini - Exphi-Com. 
Last edit: 6 years 3 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #74423 by ggppdk
Replied by ggppdk on topic Removing a field by error
Hello

do you mean the "presentation" template of Flexicontent ?

Just go to Joomla installer and re-upload the Flexicontent package
e.g. in this case package with v3.2.1.14

(do not 'uninstall', because if uninstall , all data will be deleted)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #74439 by Exphirian
Replied by Exphirian on topic Removing a field by error
Hello, 

No I mean the presentation field. 
I tried to re install Flexicontent but I have the same error. 
Any other idea? 

Have a good day
Cordialy. 
Eric Orlandini - Exphi-Com. 

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #74440 by ggppdk
Replied by ggppdk on topic Removing a field by error
Hello

I am not sure what you mean,

do you mean that you had a field e.g. of field type 'text' or of field type 'select' ,
that you deleted in the fields manager and then you are getting this error ?

i mean there is no field-type called 'Presentation'

if you think that you can post a picture
that shows what was deleted (e.g. from another website)
then please do

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #74441 by Exphirian
Replied by Exphirian on topic Removing a field by error
Hello,

oh sorry it’s maybe the name of the field in french.
yeah it was a text field that was deleted.
unfortunately I don’t have any other example for a picture.

Cordialy 
Eric Orlandini - Exphi-Com

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #74443 by ggppdk
Replied by ggppdk on topic Removing a field by error
Hello

ok i understand now
so you deleted an instance a "text" field

- and somewhere it has been chosen to be used,
e.g. it is being referenced in the configuration of another field ...

i will need access to the website see where that deleted field is being referenced ...


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.399 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline