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:
?????? ??? ????? ???? ????? ??? ?????, ???? ???? ???? ???? ?????? ?????? ??? ???? ?????? ??????. ?????? ??? ????? https://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
https://www.ads-software.com/support/guidelines/#do-not-bump-posts
- This reply was modified 9 months ago by Steven Stern (sterndata).
The problem is actually due to some chars, you can see in this link
https://moly.co.il/app/uploads/woo-product-feed-pro/xml/HUP6MvgbzbyqHmtH8FhJf2Xbqg2Hzbye.xml
Sorry 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://www.ads-software.com/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 2 years, 10 months ago by tomeryatir.