Call to a member function getFormID() on null
Permalink Browser Info Environment
We've been using Formidable Lite on one of our sites for quite a long time,
but now, if we want to add a new form, it displays this error on Save:
"Call to a member function getFormID() on null"
All our folder permissions are correct.
Even if we uninstall everything, and delete all our forms, and then install the Pro version, we still get this same error.
What might this be?
but now, if we want to add a new form, it displays this error on Save:
"Call to a member function getFormID() on null"
All our folder permissions are correct.
Even if we uninstall everything, and delete all our forms, and then install the Pro version, we still get this same error.
What might this be?
Type: | Discussion |
---|---|
Status: | Resolved |
Hi Corretje,
Thanks for your quick response.
Unfortunately we're still facing the same issue:
Message:
highlight
Full error
Thanks for your quick response.
Unfortunately we're still facing the same issue:
Message:
Error Call to a member function getFormID() on null
highlight
if($f->getFormID()) $disabled = false;
Full error
/var/www/vhosts/sasma.ability.nl/httpdocs/packages/formidable_full/elements/dashboard/form/nav.php <?php defined('C5_EXECUTE') or die("Access Denied."); $c = Page::getCurrentPage(); $disabled = true; if($f->getFormID()) $disabled = false; $token = Core::make('token')->generate('formidable_preview'); ?> <div class="ccm-dashboard-header-buttons btn-group"> <?php if (!$disabled) { ?> <a href="<?php echo URL::to('/formidable/dialog/dashboard/forms/preview'); ?>?formID=<?php echo $f->formID; ?>&ccm_token=<?php echo $token; ?>" class="btn btn-default dialog-launch" dialog-title="<?php echo t('Preview Form'); ?>" dialog-width="900" dialog-height="600" dialog-modal="true"><i class="fa fa-eye"></i> <?php echo t('Preview') ?></a> <a href="<?php echo URL::to('/dashboard/formidable/results/'); ?>?formID=<?php echo $f->formID; ?>" class="btn btn-default" ><i class="fa fa-list"></i> <?php echo t('Results') ?></a> <?php } ?>
Hi,
Hmmm... Could you send me C5-logindetails and FTP-logindetails?
I need to see what is happening. Please send them to wim@dewebmakers.nl
I'll take a look asap.
Best,
Corretje
Hmmm... Could you send me C5-logindetails and FTP-logindetails?
I need to see what is happening. Please send them to wim@dewebmakers.nl
I'll take a look asap.
Best,
Corretje
For others out there reading this: the problem got solved by running automated job "Index Search Engine - All"
Thanx!
Make sure to upgrade the addon!
And clear your c5 cache and your browser cache.
Best,
Corretje