I'm having a problem with the chronocontacts plugin. It works great with the {chronocontacts}yourformname{/chronocontacts} nomenclature in the articles and is very easy to use. The problem comes when I actually navigate to another page that uses the jCal component (this is a component page, not a module). The component displays with the correct information but I get a lot of errors in between. I have a few questions, can I turn the plugin off for a certain page (or pages)? Can I turn error reporting down (or off) so that end users don't see all these errors while I find a solution? Is it possible I misconfigured something again, where might that be?🙂 Here are my details...
Joomla: 1.5.6
CForms: 3.0 J1.5 BETA 2
Plugin: 0.5
Error: Warning: Attempt to assign property of non-object in /public_html/plugins/content/chronocontact.php on line 18
Joomla: 1.5.6
CForms: 3.0 J1.5 BETA 2
Plugin: 0.5
Error: Warning: Attempt to assign property of non-object in /public_html/plugins/content/chronocontact.php on line 18
Hi,
please get latest plugin from this post and let me know if the error still happens :
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=10908#p12351
please get latest plugin from this post and let me know if the error still happens :
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=10908#p12351
Sorry, still receive the error. Thanks for all your hard work, any idea on a solution?
Warning: Attempt to assign property of non-object in /public_html/plugins/content/chronocontact.php on line 16
Warning: Attempt to assign property of non-object in /public_html/plugins/content/chronocontact.php on line 16
Hi, it seems that you have your content page text empty or some other plugin or module is triggering the plugin event and doesn't supply text but, this will fix it:
replace line 16 of the file /public_html/plugins/content/chronocontact.php
with:
let me know!
replace line 16 of the file /public_html/plugins/content/chronocontact.php
with:
if($row->text){
$row->text = preg_replace_callback( $regex, 'showform2', $row->text );
}
let me know!
Glorious! works like a charm, thanks so much. You are awesome! :mrgreen:
Thanks for letting us know😉
This topic is locked and no more replies can be posted.