Title: ryanhu's Replies | WordPress.org

---

# ryanhu

  [  ](https://wordpress.org/support/users/ryanhu/)

 *   [Profile](https://wordpress.org/support/users/ryanhu/)
 *   [Topics Started](https://wordpress.org/support/users/ryanhu/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ryanhu/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ryanhu/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ryanhu/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ryanhu/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ryanhu/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Error on form submission](https://wordpress.org/support/topic/error-on-form-submission-6/)
 *  Thread Starter [ryanhu](https://wordpress.org/support/users/ryanhu/)
 * (@ryanhu)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/error-on-form-submission-6/#post-18647130)
 * Hi Nithin,
 * Here’s the link to the txt file with the export: [https://drive.google.com/file/d/1qfPWZ8trmhEhIUNya8xqSLkD9_w9fdrC/view?usp=sharing](https://drive.google.com/file/d/1qfPWZ8trmhEhIUNya8xqSLkD9_w9fdrC/view?usp=sharing)
 * Best Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Error on form submission](https://wordpress.org/support/topic/error-on-form-submission-6/)
 *  Thread Starter [ryanhu](https://wordpress.org/support/users/ryanhu/)
 * (@ryanhu)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/error-on-form-submission-6/#post-18646264)
 * Hi Jair,
 * Thanks for your response. I understand that Forminator uses the built email delivery
   configuration in WordPress which is why I ruled this out before contacting you.
   I use an SMTP plugin which delivers other email from WooCommerce and other plugins.
 * I included the error log in my original post which shows where Forminator is 
   failing with a fatal error upon sending. As a quick fix to get around it, I edited
   the function to be the below instead. But I do not know why the $value is null
   when a string is expected. After my quick fix, Forminator sends the email notifications
   successfully.
 * **File:** /wp-content/plugins/forminator/library/helpers/helper-fields.php
 * **Original**:
 *     ```wp-block-code
       function forminator_replace_placeholder_in_urls( string $content, string $placeholder, string $value ): string {	$value   = rawurlencode( $value );	$pattern = '#https?://[^\s"\'<>()]*' . preg_quote( $placeholder, '#' ) . '[^\s"\'<>()]*#i';	return preg_replace_callback(		$pattern,		static function ( $matches ) use ( $placeholder, $value ) {			return str_replace( $placeholder, $value, $matches[0] );		},		$content	);}
       ```
   
 * **Edited:**
 *     ```wp-block-code
       function forminator_replace_placeholder_in_urls( string $content, string $placeholder, ?string $value ): string {    $value = rawurlencode( $value ?? '' );    $pattern = '#https?://[^\s"\'<>()]*' . preg_quote( $placeholder, '#' ) . '[^\s"\'<>()]*#i';    return preg_replace_callback(        $pattern,        static function ( $matches ) use ( $placeholder, $value ) {            return str_replace( $placeholder, $value, $matches[0] );        },        $content    );}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Conflict with Woocommerce](https://wordpress.org/support/topic/conflict-with-woocommerce-113/)
 *  [ryanhu](https://wordpress.org/support/users/ryanhu/)
 * (@ryanhu)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/conflict-with-woocommerce-113/#post-17972684)
 * I had the same problem, and managed to resolve it. It is indeed caused by Yoast,
   but more specifically, the “Remove unregistered URL parameters” setting in Yoast.
 * **To fix the issue**, go to **Yoast **-> **Settings **-> **Advanced **-> ‘**Crawl
   optimisation**‘ and find the setting “**Remove unregistered URL parameters**“.
   You can turn this setting to ‘disabled’ to fix the issue, or alternatively you
   can add the parameter ‘key’ (sans quotes) to the ‘Additional URL parameters to
   allow’ section.

Viewing 3 replies - 1 through 3 (of 3 total)