megaphonejon
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta pixel for WordPress] Version 3.0.13 Breaks WPForms on MobileHere’s a diff of the patch I wrote to fix this. Hopefully Meta support incorporates this – but note that they’ve taken a year or more to fix similar issues.
diff --git a/wp-content/plugins/official-facebook-pixel/core/AAMFieldsExtractor.php b/wp-content/plugins/official-facebook-pixel/core/AAMFieldsExtractor.php index 77cc2cc6f..fda6a0503 100644 --- a/wp-content/plugins/official-facebook-pixel/core/AAMFieldsExtractor.php +++ b/wp-content/plugins/official-facebook-pixel/core/AAMFieldsExtractor.php @@ -71,6 +71,10 @@ final class AAMFieldsExtractor { // https://developers.facebook.com/docs/facebook-pixel/advanced/advanced-matching foreach($user_data_array as $field => $data){ try{ + // hack for email, which can be an array + if ($field === 'em' && is_array($data)) { + $data = reset($data); + } $normalized_value = Normalizer::normalize($field, $data); $user_data_array[$field] = $normalized_value; }
Forum: Plugins
In reply to: [Meta pixel for WordPress] Version 3.0.13 Breaks WPForms on MobileI can’t guarantee you’re not hitting a separate bug – but this affects WPForms for me on all platforms, and the issue is that there’s a bug because email fields submit two emails, and Facebook assumes one only is submitted. On PHP 7 this gives a warning, on PHP 8 this is a fatal error.
I just experienced the same issue with WPSSO Core v15.17.2. Reviewing the source code, the fix was made in one of the two places my PR did. Could you please make the same fix on lib/util.php on line 206?
This issue has been reported several times – there is no fix available yet from the plugin authors, but there is a hack folks figured out here: https://www.ads-software.com/support/topic/full-calendar-unable-to-view-past-next-months/#post-15954284
This issue has been reported several times – there is no fix available yet from the plugin authors, but there is a hack folks figured out here: https://www.ads-software.com/support/topic/full-calendar-unable-to-view-past-next-months/#post-15954284
I can confirm this bug. I can also confirm that
days-dates.php
isn’t present in the zip file, and that the issue isn’t specific to any PHP version.