I'm updating a joomla 1.5 webpage to a joomla 2.5.
The Problem:
An error screen comes up saying:
Fatal error: Call to protected method JFormField::getName() from context 'TranslateParams_xml' in /var/www/vhosts/1286.linux3.testsider.dk/httpdocs/jupgrade/libraries/joomfish/translateparams/xml.php on line 114
I've looked at line 114 in the xml.php but I can't seem to find any errors in it. That's when i thought to myself maybe this problem is caused due to me working in a subfolder og det online webpage.
Is it because of the subfolder? A damaged file? Or something else?
Here's the xml.php
foreach ($fieldset as $field) {
$freefield = JFFormField::getInstance($field);
//if($freefield->type == 'Spacer') continue;
$freefieldname = $freefield->get('fieldname');
$freefield->set('fieldname',$freefieldname.'_orig' );
Line 114 $freefield->set('name', $freefield->getName($freefieldname.'_orig'));
$freefield->set('label', 'Original '.$freefield->get('label'));
Maybe it's easier to start from scratch with the content in the Joomfish for Joomla 2.5?