• Hello,

    I’m having an issue with my guestbook. I’m using GWOLLE_GB and The ‘Name’ field is marked as required, however when it is not put in, and the message is submitted, I get the following Fatal Error:

    Fatal error: Cannot redeclare gwolle_gb_formatguestbooklink() (previously declared in /…./wp-content/plugins/gwolle-gb/frontend/gbLinkFormat.func.php:2) in /…./wp-content/plugins/gwolle-gb/frontend/gbLinkFormat.func.php on line 23

    the file ‘gbLinkFormat.func.php’ has the following code

    <?php
    	function gwolle_gb_formatGuestbookLink($gb_link) {
    		/*
    		**	This function tries to format the given $link into an address
    		**	that can be used by the guestbook.
    		*/
    		$lastCharPos = strlen($gb_link) - 1;
    		if ($gb_link[$lastCharPos] == '/') {
    			//	The last char of the guestbook link is a slash. Only append a '?'.
    			$gb_link .= '?';
    		}
    		elseif (strpos($gb_link,'?') > -1) {
    			//	The '?' has already been entered. Append '&', if not already the last char.
    			if ($gb_link[$lastCharPos] != '&') {
    				$gb_link .= '&';
    			}
    		}
    		elseif (!strpos($gb_link,'?') && $gb_link[$lastCharPos] != '/') {
    			//	No '?' and no '/' entered. Append '/?'.
    			$gb_link .= '/?';
    		}
    		return $gb_link;
    	}
    ?>

    Can anyone help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter clintonb

    (@clintonb)

    …no takers???

    I have a similar problem:

    Fatal error:
    Cannot redeclare gwolle_gb_formatguestbooklink()
    (previously declared in
    .../wp-content/plugins/gwolle-gb/frontend/gbLinkFormat.func.php:2) in
    .../wp-content/plugins/gwolle-gb/frontend/gbLinkFormat.func.php on line 23

    I also wrote a comment with this issue on the developers page. I wonder how to solve this?

    On two different WordPress installations, i have exact the same problem with the Gwolle-GB plugin. If either the Name- or the Entry-field are not filled out, the above mentioned fatal error appears. This seems to be a problem with a function that is executed twice, but unfortunately my PHP-skills are not advanced enough that i can fix this myself.

    Anyone has an idea on what might cause this behaviour?

    Hmpf, :/ my and other comments on the developers page are not accessible anymore. I wonder why :/ I will try this plugin out another time, I hope I can find a solution somehow on my own ??

    Success!

    After updating from WP-reCAPTCHA 2.9.5 to version 2.9.6 the problem does not persist anymore!

    I wonder if it works for you too?

    Hi there

    I only get that
    Fatal error: Cannot redeclare gwolle_gb_formatguestbooklink() (previously declared in /…./wp-content/plugins/gwolle-gb/frontend/gbLinkFormat.func.php:2) in /…./wp-content/plugins/gwolle-gb/frontend/gbLinkFormat.func.php on line 23

    when i have reCaptcha activated. Have version 2.9.6 installed but causes problems just like askim plugin. Other errors i get is when some writtes a message an i want to edit it then i get

    Warning: cannot yet handle MBCS in html_entity_decode()! in /hp/ax/ab/bq/www/wordpress/wp-content/plugins/gwolle-gb/admin/entries.php on line 291

    Warning: cannot yet handle MBCS in html_entity_decode()! in /hp/ax/ab/bq/www/wordpress/wp-content/plugins/gwolle-gb/admin/entries.php on line 304

    shown… I’m running current WP version 2.7.1.
    Someone got a sulution ?
    Thx
    Eddy

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error with Gwolle Guestbook’ is closed to new replies.