Should be Ok in version 3.0.7:
https://www.phoca.cz/news/963-phoca-gue ... 7-released
Jan
reCAPTCHA is not shown
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: reCAPTCHA is not shown
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 19 Aug 2013, 20:17
Re: reCAPTCHA is not shown
Thanks Jan!
-
- Phoca Member
- Posts: 18
- Joined: 19 Aug 2013, 20:17
Re: reCAPTCHA is not shown
Hello Jan,
I get the following error:
Warning: Invalid argument supplied for foreach() in /home/remdewaal/www.remdewaal.nl/components/com_phocagu ... editor.php on line 83
See https://www.remdewaal.nl/teken-het-gastenboek?id=1
With kind regards,
Ronald
I get the following error:
Warning: Invalid argument supplied for foreach() in /home/remdewaal/www.remdewaal.nl/components/com_phocagu ... editor.php on line 83
See https://www.remdewaal.nl/teken-het-gastenboek?id=1
With kind regards,
Ronald
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: reCAPTCHA is not shown
Hi, what happens when you go to plugins - tinymce -> edit -> save. Do you get the same problems?
If this does not help, try to go to:
components\com_phocaguestbook\models\fields\phocaeditor.php line cca 83 and change
FROM:
TO:
Please let me know.
Anyway, on your production site, you should disable development warnings in global configuration
Jan
If this does not help, try to go to:
components\com_phocaguestbook\models\fields\phocaeditor.php line cca 83 and change
FROM:
Code: Select all
foreach ($extraOptionsAll as $set => $val)
{
$val->access = empty($val->access) ? array() : $val->access;
// Check whether User in one of allowed group
foreach ($val->access as $group)
{
if (isset($ugroups[$group]))
{
$extraOptions = $val;
$toolbarParams = $toolbarParamsAll->$set;
}
}
}
Code: Select all
if (!empty($extraOptionsAll)) {
foreach ($extraOptionsAll as $set => $val)
{
$val->access = empty($val->access) ? array() : $val->access;
// Check whether User in one of allowed group
foreach ($val->access as $group)
{
if (isset($ugroups[$group]))
{
$extraOptions = $val;
$toolbarParams = $toolbarParamsAll->$set;
}
}
}
}
Anyway, on your production site, you should disable development warnings in global configuration
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 19 Aug 2013, 20:17
Re: reCAPTCHA is not shown
Hi JAn,
With kind regards,
Ronald
Saving the plugin solved the problem. Thanks for your quick answer!Hi, what happens when you go to plugins - tinymce -> edit -> save. Do you get the same problems?
With kind regards,
Ronald
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: