Steve Hogan
Forum Replies Created
-
Forum: Plugins
In reply to: [Uber reCaptcha] Fatal error: Can’t use function return valueSuperb. Can’t ask for anything more. Let me know if I can help in any way.
S
Forum: Plugins
In reply to: [Uber reCaptcha] Fatal error: Can’t use function return value@sigersmit – You are most welcome
@cristian – You are 100% right, of course, about moving to PHP7. However, some hosting companies make this difficult for the user to initiate. Also, I’m planning on moving all of my sites to PHP7 (I run 20+ sites, most with very little traffic) and I fully expect something to blow up – probably a few plugins ??
Thanks for looking at this. I appreciate your hard work.
S
Forum: Plugins
In reply to: [Uber reCaptcha] Fatal error: Can’t use function return valueMore .. I replaced the three lines I commented out above with this code:
$test_array = array_intersect( $plugin_option[‘show_logged_users’], $current_user_roles );
if (!empty($test_array)){
return new NCR_captcha_on_comment_form();
}And it no longer blows up FWIW. (Whether it actually behaves as the author intended is TBD.)
I believe this has something to do with the behavior of “empty” in different versions of PHP. My site is on PHP 5.6.30.
Forum: Plugins
In reply to: [Uber reCaptcha] Fatal error: Can’t use function return valueI commented out lines 40-42 in the file as a temporary workaround to get my site back on line. I THINK this only affects the wordpress comment form which I am not using. Hope this helps until the author gets this fixed.
These are the lines I commented.
// if ( !empty( array_intersect( $plugin_option[‘show_logged_users’], $current_user_roles ) ) ) {
// return new NCR_captcha_on_comment_form();
// }Steve Hogan
Forum: Plugins
In reply to: [Uber reCaptcha] Intermittent failuresThanks. FWIW, it seems that this happens most often with Firefox and virtually never with Chrome. Hope that helps.
Success!. Version 2.1 works fine.
Thanks for the rapid response. That’s pretty rare with many plugin authors and I really appreciate it.
SJHThanks for looking at this. I’ll try it in the morning as I have to leave right now. But I don’t believe that the problem is the warning, unless leaving a warning message hangs the process for some reason. Not likely – I personally write such crappy code that PHP warnings are part of my normal existence ??
Will let you know for sure one way or the other in the morning.Cheers,
SJH
I just tried the development version. Same problem. I get this PHP error code
[22-Oct-2016 22:42:05 UTC] PHP Warning: DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 4 in /home/steveh8/public_html/warpmeta.com/wp-content/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 228
Reloaded Version 0.1.7 and the site works. No PHP errors. Hope this helps.
SJH
Forum: Plugins
In reply to: [CF7 Google Sheets Connector] Fatal Error on Activation*** DISREGARD **
It was a conflict with another plugiinForum: Plugins
In reply to: [Synchi] Compatibility with "Global Content Blocks" plugin?I would also like this if it is possible.
Forum: Plugins
In reply to: [Synchi] Broken Link to Donation PageI am sorry to hear that. Synchi has made my life MUCH easier. I am not a professional developer, but am working on our company site because I want a much simpler theme and revision process. Synchi has been a great help. Thanks for your hard work.
SH
Forum: Fixing WordPress
In reply to: How to set autoplay on the new video shortcode on wordpress 3.6 ?I tried all of the combos and found that autoplay=”1″ worked. However, on Chrome, I do not get the video controls until the video has played once. Works fine on FF. Life is never easy ??