Php errors & Security threats
-
Hi,
Your plugin does not work on my site.
2 reasons
- I have plenty of “Array must contain at least one element in …” generated by your ProductHelper.php. Leading to [proxy_fcgi:error].
- Your plugin uses fpassthru() -which can be disabled for security reasons- and does not -even conditionally- use readfile(), which is also safer.3
For your info
Kind regards
-
Hi polina92
Thanks for reaching us. Can you please, share your System status(ctx feed > status) and the error log so we can check the issue properly?
Regards,
Hello,
In error logs:
- [Mon Nov 13 14:25:02.784121 2023] [proxy_fcgi:error] [pid 30176:tid 139941669250816] [client XXXXXXX:0] AH01071: Got error ‘PHP message: PHP Warning: min(): Array must contain at least one element in /home/477426.cloudwaysapps.com/XXXXXXX/public_html/wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Helper/ProductHelper.php on line 933PHP
- [Mon Nov 13 14:23:27.678526 2023] [proxy_fcgi:error] [pid 30176:tid 139941023569664] [client 88.163.158.174:0] AH01071: Got error ‘PHP message: PHP Warning: fpassthru() has been disabled for security reasons in /home/477426.cloudwaysapps.com/XXXXXXX/public_html/wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Download/FileDownload.php on line 81’, referer: https://XXXXXXX/wp-admin/admin.php?page=webappick-manage-feeds
In system status:
WooCommerce Version8.2.2 – You are using the latest version of WooCommerce.Product Types? Produit Simple [simple]
? Produits Groupés [grouped]
? Produit Externe/affiliation [external]
? Produit Variable [variable]
Total ProductsWP Query: 1176
WC Product Query: 1176
Both Query: 1176Product Total by Types.
? Simple Product: 274
? Variable Product: 902
? Product Variations: 2873
Product Per Batch200Product Query TypeWC_Product_QueryDefaultVersion8.2.2
Log Directory WritableYesWP Version6.4.1WP MultisiteNoWP Memory Limit2 GBWP Debug ModeNoWP CronYesLanguagefr_FRServer InfoApache/2.4.58 (Debian)Php Version7.4.33Php Post Max Size25 MBPhp Max Execution Time300Php Max Input Vars2.93 KBCurl Version7.64.0, OpenSSL/1.1.1nSuhosin InstalledNoMax Upload Size20 MBMysql Version5.5.5Mysql Version String5.5.5-10.4.20-MariaDB-1:10.4.20+maria~buster-logDefault TimezoneUTCFsockopen Or Curl EnabledYesSoapclient EnabledYesDomdocument EnabledYesGzip EnabledYesMbstring EnabledYesRemote Post SuccessfulYesRemote Post Response200Remote Get SuccessfulYesRemote Get Response200Woodmart7.3.2WPML Multilingual CMS (OnTheGoSystems)4.6.7Breeze (Cloudways)2.0.32Anti-Spam par CleanTalk (СleanTalk – Anti-Spam Protection )6.21Code Snippets (Code Snippets Pro)3.6.2Advanced Comment Form (Thomas Maier)1.2.2Contact Form 7 (Takayuki Miyoshi)5.8.2GA Google Analytics (Jeff Starr)20231101Lightbox for Gallery & Image Block (Johannes Kinast )1.13GenerateBlocks (Tom Usborne)1.8.2éditeur de page (Michael M – WPBakery.com)7.1 (Latest:7.2)LuckyWP Table of Contents (LuckyWP)2.1.4Maintenance (WebFactory Ltd)4.08Meow Gallery (Jordy Meow)5.0.6 (Latest:5.0.7)Modal Block (Mark Bird)2.1Mollie Payments for WooCommerce (Mollie)7.4.1Product Reviews Import Export for WooCommerce (WebToffee)1.4.9Safe SVG (10up)2.2.1Security by CleanTalk (CleanTalk Security)2.122Rank Math SEO (Rank Math)1.0.205 (Latest:1.0.206)CTX Feed (WebAppick)6.3.0 (Latest:6.3.2)Suivi avancé des envois pour WooCommerce (zorem)3.6.2Product Feed PRO for WooCommerce (AdTribes.io)13.0.9 (Latest:13.1.0)Payment Plugins for Stripe WooCommerce (Payment Plugins, [email protected])3.3.51WooCommerce Multilingual & Multicurrency (OnTheGoSystems)5.2.1PDF Invoices & Packing Slips for WooCommerce (WP Overnight)3.7.2WooCommerce Table Rate Shipping (Bolder Elements)4.3.2WooCommerce (Automattic)8.2.2Woodmart Core ()1.0.40Wordfence Security (Wordfence)7.10.7Asset CleanUp : Page Speed Booster (Gabe Livan)1.3.9.3WP Content Copy Protection & No Right Click. (wp-buy)3.5.7WP Mail SMTP (WP Mail SMTP)3.10.0WPML Media (OnTheGoSystems)2.7.3WPML String Translation (OnTheGoSystems)3.2.8Multi Language Site Multi Currency SiteWooCommerce Multilingual is installed. WP DEBUG StatusWP_DEBUG is false. If you having any issue with the plugin then set WP_DEBUG to true so that you can find the issue from logs. You can learn more about debugging in WordPress from here. WP CRONOkUpload DirectoryOk – Writable. Languagefr_FRServer InfoApache/2.4.58 (Debian)Php Version7.4.33Php Post Max Size25 MBPhp Max Execution Time300Php Max Input Vars2.93 KBCurl Version7.64.0, OpenSSL/1.1.1nSuhosin InstalledNoMax Upload Size20 MBMysql Version5.5.5Mysql Version String5.5.5-10.4.20-MariaDB-1:10.4.20+maria~buster-logDefault TimezoneUTCFsockopen Or Curl EnabledYesSoapclient EnabledYesDomdocument EnabledYesGzip EnabledYesMbstring EnabledYesRemote Post SuccessfulYesRemote Post Response200Remote Get SuccessfulYesRemote Get Response200Woodmart7.3.2WPML Multilingual CMS (OnTheGoSystems)4.6.7Breeze (Cloudways)2.0.32Anti-Spam par CleanTalk (СleanTalk – Anti-Spam Protection )6.21Code Snippets (Code Snippets Pro)3.6.2Advanced Comment Form (Thomas Maier)1.2.2Contact Form 7 (Takayuki Miyoshi)5.8.2GA Google Analytics (Jeff Starr)20231101Lightbox for Gallery & Image Block (Johannes Kinast )1.13GenerateBlocks (Tom Usborne)1.8.2éditeur de page (Michael M – WPBakery.com)7.1 (Latest:7.2)LuckyWP Table of Contents (LuckyWP)2.1.4Maintenance (WebFactory Ltd)4.08Meow Gallery (Jordy Meow)5.0.6 (Latest:5.0.7)Modal Block (Mark Bird)2.1Mollie Payments for WooCommerce (Mollie)7.4.1Product Reviews Import Export for WooCommerce (WebToffee)1.4.9Safe SVG (10up)2.2.1Security by CleanTalk (CleanTalk Security)2.122Rank Math SEO (Rank Math)1.0.205 (Latest:1.0.206)CTX Feed (WebAppick)6.3.0 (Latest:6.3.2)Suivi avancé des envois pour WooCommerce (zorem)3.6.2Product Feed PRO for WooCommerce (AdTribes.io)13.0.9 (Latest:13.1.0)Payment Plugins for Stripe WooCommerce (Payment Plugins, [email protected])3.3.51WooCommerce Multilingual & Multicurrency (OnTheGoSystems)5.2.1PDF Invoices & Packing Slips for WooCommerce (WP Overnight)3.7.2WooCommerce Table Rate Shipping (Bolder Elements)4.3.2WooCommerce (Automattic)8.2.2Woodmart Core ()1.0.40Wordfence Security (Wordfence)7.10.7Asset CleanUp : Page Speed Booster (Gabe Livan)1.3.9.3WP Content Copy Protection & No Right Click. (wp-buy)3.5.7WP Mail SMTP (WP Mail SMTP)3.10.0WPML Media (OnTheGoSystems)2.7.3WPML String Translation (OnTheGoSystems)3.2.8
Hi @polina92,
Please, update the plugin to its latest version 6.3.2 and check if the issue remains.
Hello,
- I tried. It is better. Some values are not extracted, but at first glance, it seems to be due to how I wrote them …. Concretely, to illustrate, if an item has 2 colors, say black and white, how shall the value be written? Select 2 attributes, the one for white, and the other for black? Create a black / white attribute? or black white ? or black and white? or ….
- The feed has been sent to Google, who said that the file is correctly written. Knowing it will take a couple of days till it’s active and fully audited.
- Unfortunately, I wanted to use your deal for black friday to try, since one of the last reviews suggest that you may not be 100% trustworthy, and since it’s not possible to fully test the plugin (eg condition / filter), and since bugs are reported … by me and others on the forum. But fact is that now, it’s too late.
Kind regards
Hi,
Thanks for reaching us again.
- In WooCommerce if you have 2 values added to one attribute it shows the attributes separated by a comma. For example – White,green. So, our plugin does the same on the feed as you can see here. However, you can change the separators according to your preference using string replace or dynamic attribute.
- Google takes a few hours to process a new feed and may take upto 24hr or more. So, wait for the next 24hrs to get the newly uploaded feed processed.
- Don’t worry! no question will be asked if you want to. You can keep your faith or you can use my statement here as a reference though you won’t need it.
Best regards,
- The topic ‘Php errors & Security threats’ is closed to new replies.