tomeryatir
Forum Replies Created
-
Hey @superlemon1998
Im actually using WP all import to import some products, then I’m using Product feed pro to broadcast them to google shopping.
The problem is that i dont have control over the imported products, is there a way to avoid such characters with your plugin?
Im sorry, the feed is deleted, i’ll repost this.
Hey @superlemon1998
Im sorry, this is the correct feed:
https://moly.co.il/app/uploads/woo-product-feed-pro/xml/ayN5bueTX5vygwTgcRvJOOkpOwIG806a.xmlthe product description is the following text, and it might cause the issue:
מגנטון צבע מגנטי דנבר צבעים צבע מגנטי, מכיל אבקת ברזל אליו נצמדים מגנטים צבע מתכת להדבקת מגנטים. מגנטון צבע מגנטי http://www.denber.net מוצר במבצע 20%25 הנחה בהזמנה טלפונית 089960794 מחיר: 0.5 ליטר – 85 + 40 ש”ח דמי משלוח – סה”כ 125 ש”ח כולל משלוח עד הבית מחיר: 1 ליטר – 151.20 + 40 ש”ח דמי משלוח – סה”כ 191.20 ש”ח כולל משלוח עד הבית החזרה: באריזה מקורית עד 14 יום בעלות משלוח חוזר – 40 ש”ח ניתן לשלם בכל כרטיס אשראי, סליקה דרך PayPal מגנטון – צבע מגנטי – צבע סינטטי עליון לצביעת משטחים עליהם ניתן להצמיד מגנטים . Megnaton – synthetic magnetic paint on any surface & walls תכונות: מוכן לשימוש לאחר דילול וערבוב. יכול לשמש כצבע עליון לכל צבע יסוד מתאים. קל ליישום בכל אמצעי אפשרי. חוזק מכני סביר. עמידות מעולה בתנאי חוץ, עמידות UV כושר הידבקות מעולה לצבעי יסוד. שימושים: לצביעת קירות בבית ובבתי ספר כלוח להצמדת מגנטים. לצביעת דלתות עץ עליבם רוצים להצמיד מגנטים. נתונים טכניים: צריכה– 100 מיליגרם למ”ר כיסוי – 1 ליטר ל 10 מ”ר) עובי שכבה מומלץ – 60 מיקרון יבש מס’ שכבות מומלץ – 1-2 לכיסוי מושלם גמישות – 1 מ”מ (sheen) צפיפות – 1.20-1.35gmcm 3 %25 מוצקים בנפח – 60%25 צבע מגנטי, מכיל אבקת ברזל אליו נצמדים מגנטים מכיל: שרפים סינטטיים. פיגמנטים. סיקטיבים. חומרי הרטבה. סולבנטים, תוספים. גוון: מתכתי ברק: משי. ייבוש למגע : 2-4 שעות. ייבוש בין שכבות: 16 שעות. סופי: 24 שעות שיטות יישום: הברשה, גלילה, התזה, טבילה. דילול: הברשה/גלילה – 5-10%25 טרפנטין מינרלי התזה – 12-30%25 מדלל D-18 לחץ 3-4 אט’. איירלס – 5-10%25 מדלל D-18 לחץ 5-6 אט’ דיזה “0.015 טבילה – 60-80%25 טרפנטין מינרלי. הכנת שטח: ניקוי יסודי מאבק, שומן, לכלוך, עץ – יש לצבוע על שכבת יסוד לבן לעץ דנברקוט. קירות- לאחר שפכטל, יסוד דנברטקס פריימר, אריזה: 1 ליטר. אחסון: במקום קריר ומוצל בטמפ’ החדר עם אוורור נאות. הקפד על מכסים סגורים הרמטית. חיי מדף: 12 חודשים באריזה המקורית. ניקיון כלים: מדלל 21-D מיד בתום הצביעה. בטיחות: לא למאכל, הרחק מהישג ידם של ילדים. ו דליק, הרחק ממוקדי חום, אש וגיצים. ו הקפד על אוורור נאות בזמן היישום. ו חבוש משקפי מגן, כפפות עמידות בסולבנטים, ביגוד מגן. ו במקרה פגיעה – פנה מיד לטיפול רפואי. ו אזהרה: אין לערבב עם חומרים שלא הומלצו על ידנו. ו המנע ממגע עם העור והעיניים, גורם ליובש וגירוי העור. במגע יש לשטוף עם הרבה מים זורמים ולפנות לטיפול רפואי. ו ביקורת איכות: במעבדות מפעלנו בהתאם למפרט ו ISO 9001-2015 ו מפרט טכני זה הינו למידע כללי בלתי מחייב בלבד. ו מיוצר על ידי דנבר צבעים וציפויים ישראל בע”מ , ו למפרט המלא: מגנטון צבע מגנטי דנבר צבעים
did u manage to have a look?
Moderator note: Please, No bumping
- This reply was modified 2 years, 1 month ago by Steven Stern (sterndata).
The problem is actually due to some chars, you can see in this link
Image:
https://postimg.cc/DmRGjbgsSorry my bad!
These are the relevant errors:
[11-Feb-2024 10:35:54 UTC] PHP Warning: simplexml_load_file(): /home/XXXX/public_html/web/app/uploads/woo-product-feed-pro/xml/HUP6MvgbzbyqHmtH8FhJf2Xbqg2Hzbye_tmp.xml:17828: parser error : PCDATA invalid Char value 16 in /home/XXXX/public_html/web/app/plugins/woo-product-feed-pro/classes/class-get-products.php on line 1354
[11-Feb-2024 10:35:54 UTC] PHP Warning: simplexml_load_file(): 8</g:link><g:title>ציפוי רצפות אפוקסי אפוקסידן פלור in /home/XXXX/public_html/web/app/plugins/woo-product-feed-pro/classes/class-get-products.php on line 1354It actually did it 🙂
I noticed when this plugin is on:
Redis Object Cache
https://wordpress.org/plugins/redis-cache/
This happens!Okay, so i found the problem, located in some MU plugin we added, but it doesn’t add wp_mail function, rather returns modified plugins variable.
Hey @haseeb0001 ,
I’ve double checked and there’s no such line, nor defining of this in any custom file created by our theme, nor any plugin.
I’ve disabled all plugins and changed to default theme, tried to re-authenticate, but i still get this message, not matter what I do.
Hey @haseeb0001 ,
It didnt work.
Also on my staging site iv tried to deactivate all plugins and themes and it didnt work.Mailer: postsmtp
HostName: moly.co.il
cURL Version: 7.69.1
OpenSSL Version: OpenSSL/1.1.1j
OS: Linux ganyavnez.co.il 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64
PHP: Linux 7.4.30 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
WordPress: 6.0.2 he_IL UTF-8
WordPress Theme: moly Child
WordPress Plugins: Post SMTP, Woocommerce Yaad Sarig Payment Gateway, Advanced Custom Fields, AJAX Login and Registration modal popup DEV + inline form, Classic Editor, Customizations, Dokan, Dokan Pro, Elementor, Enable Accessibility, Imagify, Index WP MySQL For Speed, Loco Translate, Octolooks Scrapes, Redis Object Cache, SQL Buddy, UpdraftPlus – Backup/Restore, User Switching, Product Feed PRO for WooCommerce, WooCommerce Simple Buy Now, Variation Swatches for WooCommerce, WooCommerce Product Add-ons, WooCommerce Side Cart Premium, WooCommerce, Wordfence Security, Yoast SEO, WP Rocket, Smart Image Resize PRO, WPForms Lite
WordPress wp_mail Owner: /home/moly/newmoly/web/wp/wp-includes/pluggable.php
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress
WordPress phpmailer_init Action(s): dokan_exclude_child_customer_receipt, PostsmtpMailer->phpmailer_smtp_init
Postman: 2.1.9
Postman Sender Domain (Envelope|Message): gmail.com | gmail.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: SMTP (smtp:tls:oauth2://smtp.gmail.com:587)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 7198 | 148@steinolaf yes acrually.
So, when wp rocket and wordfence are disabled, the feeds will run straight and update.
When they are enabled, the feed will get stuck, but overtime it will return and complete. It just takes more time.
We’ve well tested the changes, and they seem to work pretty well with dokan.
We manually marked to each user, its relevant country-wide shipping method, and google managed to read it properly.Also, if its possible to integrate some kind of filters, like these (just an example):
<?php $custom = apply_filter('custom_shipping', false); if(!$custom){ $ship = explode("||", $v); foreach ($ship as $kk => $vv){ $sub_count = substr_count($vv, '##'); $shipping = $product->addChild($k, '',htmlspecialchars($namespace['g'])); $ship_split = explode(":", $vv); foreach($ship_split as $ship_piece){ $piece_value = explode("##", $ship_piece); if (preg_match("/WOOSEA_COUNTRY/", $ship_piece)){ $shipping_country = $shipping->addChild('g:country', $piece_value[1], $namespace['g']); } elseif (preg_match("/WOOSEA_REGION/", $ship_piece)){ $shipping_region = $shipping->addChild('g:region', $piece_value[1], $namespace['g']); } elseif (preg_match("/WOOSEA_POSTAL_CODE/", $ship_piece)){ $shipping_price = $shipping->addChild('g:postal_code', $piece_value[1], $namespace['g']); } elseif (preg_match("/WOOSEA_SERVICE/", $ship_piece)){ $shipping_service = $shipping->addChild('g:service', $piece_value[1], $namespace['g']); } elseif (preg_match("/WOOSEA_PRICE/", $ship_piece)){ $shipping_price = $shipping->addChild('g:price',trim($piece_value[1]),$namespace['g']); } else { // DO NOT ADD ANYTHING } } } }else{ add_action('custom_feed_shipping', $product); } ?>- This reply was modified 4 years, 2 months ago by tomeryatir.