Marc_O
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Problem with Action Scheduler not workingHello @koullis,
Yes of course. The option is in the Security menu, unders “Bots”, it’s the “Bot Fight Mode” as you can see in this screenshot : https://postimg.cc/8fWnPTkn
I’ve seen that all the “bots” blocked are logged and you can exclude when it’s a false positive like I had. I haven’t tested it as I didn’t turn on the service but I guess if you exclude the IP or one of the other settings in the log you can manage to use the service without breaking the cron job :
Regards.
- This reply was modified 10 months, 1 week ago by Marc_O.
Forum: Plugins
In reply to: [WooCommerce] Problem with Action Scheduler not workingI answer to my own message with the solution because it can help someone else.
The issue was not with Woocommerce or a conflict with another plugin. The issue came from a settings in the Cloudflare service that I use to secure the website. I had switch on a settings against bots and that’s what was blocking the cron job.
Hello,
Thank you for the snippet, I confirm that it fixed the issue.
Regards
Hello,
Thank you for your anwer.
This is the debug log I got when I try to go to the Widgets page.
Do you see what is the issue here?[26-Dec-2023 13:43:08 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:08 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:08 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:08 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:08 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:08 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:08 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:08 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 7241 [26-Dec-2023 13:43:20 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/3/d366098090/htdocs/site-wp/wp-includes/functions.php on line 2187 [26-Dec-2023 13:43:20 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / string in /homepages/3/d366098090/htdocs/site-wp/wp-content/plugins/acymailing/back/helpers/pagination.php:24 Stack trace: #0 /homepages/3/d366098090/htdocs/site-wp/wp-content/plugins/acymailing/front/views/archive/tmpl/listing.php(43): AcyMailing\Helpers\PaginationHelper->display() #1 /homepages/3/d366098090/htdocs/site-wp/wp-content/plugins/acymailing/back/libraries/view.php(115): include('/homepages/3/d3...') #2 /homepages/3/d366098090/htdocs/site-wp/wp-content/plugins/acymailing/back/libraries/controller.php(204): AcyMailing\Libraries\acymView->display() #3 /homepages/3/d366098090/htdocs/site-wp/wp-content/plugins/acymailing/front/controllers/archive.php(163): AcyMailing\Libraries\acymController->display() #4 /homepages/3/d366098090/htdocs/site-wp/wp-content/plugins/acymailing/widgets/archive/widget.php(125): AcyMailing\FrontControllers\ArchiveController->showArchive() #5 /homepages/3/d366098090/htdocs/site-wp/wp-includes/class-wp-widget.php(394): acym_archive_widget->widget() #6 /homepages/3/d366098090/htdocs/site-wp/wp-includes/widgets.php(2026): WP_Widget->display_callback() #7 /homepages/3/d366098090/htdocs/site-wp/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(697): wp_render_widget() #8 /homepages/3/d366098090/htdocs/site-wp/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(154): WP_REST_Widgets_Controller->prepare_item_for_response() #9 /homepages/3/d366098090/htdocs/site-wp/wp-includes/rest-api/class-wp-rest-server.php(1193): WP_REST_Widgets_Controller->get_items() #10 /homepages/3/d366098090/htdocs/site-wp/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request() #11 /homepages/3/d366098090/htdocs/site-wp/wp-includes/rest-api.php(551): WP_REST_Server->dispatch() #12 /homepages/3/d366098090/htdocs/site-wp/wp-includes/rest-api.php(2918): rest_do_request() #13 [internal function]: rest_preload_api_request() #14 /homepages/3/d366098090/htdocs/site-wp/wp-includes/block-editor.php(753): array_reduce() #15 /homepages/3/d366098090/htdocs/site-wp/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload() #16 /homepages/3/d366098090/htdocs/site-wp/wp-admin/widgets.php(32): require('/homepages/3/d3...') #17 {main} thrown in /homepages/3/d366098090/htdocs/site-wp/wp-content/plugins/acymailing/back/helpers/pagination.php on line 24
Thank you
Forum: Plugins
In reply to: [Loops & Logic] Can’t get a responsive imageHello,
Thank you for your answer.
I guess you’re right, Divi must be the cause of that behavior.
Let me know if you find something.
Regards
Forum: Plugins
In reply to: [Loops & Logic] Can’t get a responsive imageHello,
I have tried this code :
<img src="{Field image_url}" sizes="{Field image_sizes}" srcset="{Field image_srcset}" alt="{Field image_alt}" width="50">
and this one too :
<img src="{Field image_url}" sizes="{Field image_sizes}" srcset="{Field image_srcset}" alt="{Field image_alt}">
I see the image but for both codes I get an image with the sizes or srcset fields empty.
Regards
Forum: Plugins
In reply to: [Loops & Logic] Can’t get a responsive imageHello,
Thank you for your answer. I’ve tried the code you gave me but it’s still not working for me. You put src=”{Field image}” in your code, I think you meant src=”{Field image_url} because the first one is not working.
You were right about the alt text, it was empty on my image so I added it and now I have it in the code but is still have the sizes ans srcset attributes totally empty so the image don’t load different images depending of the screen sizes as explain in the article.
Regards
Forum: Plugins
In reply to: [Loops & Logic] Can’t get a responsive imageHello,
Thank you for your answer. What do you need to know about my setup? I’m on the last version of WordPress with the last version of PHP (8.2) and of the Loops and Logic plugin.
I’m using the Divi theme and at first I though maybe it was the Theme Builder that was messing thing up but I’ve just tried to put the Tangible template direclty inside a normal post and same thing, the image is shown but sizes and srcset are empty so it’s not responsive.
I’ve tried to add the image with the tangible block (both directly or calling a template) and with a shortcode but whatever I call it the image is still not responsive.Forum: Plugins
In reply to: [Contextual Related Posts] Change order between Title and CategoryHello,
Thank you for this tip, it work perfectly.
Regards
Ok thank you for your answer.
Hello,
You were right, I was confused with those PHP versions.
The version was updated to 7.4.33 and could make the upadte of the plugin and I’ll soon try the 8.0 version.Thank you for your answer.
Regards
Hello Jade,
Thank you for your answer.
In fact, I already use the code you gave me in link. I’m using it to show only products from a certain author but that code is just a filter for the source of the products it doesn’t change the way the products are shown.
So I guess it can’t be done easily if there is no hook on the display side.
Regards
Hello,
Thank you for your answer.
RegardsHello,
Thank you for this example of code but i’m not sure I understand of I can use it for my case.
In the first message you said that I should use the params $query_args and $directory_data_settings but it’s not in your example code.
Form the meta query I guess that the key is the field in wich I search the value, is it there I put the two fields “place1” and “place2” with a “or” logic ?
Last thing is the ‘Value I am Looking for’ that I don’t understand. Is it the search of the user ? If so it’s dynamic, how can I get it into the code ?
Thank you
RegardsHello,
Thank you for your answer.
Do you have an example of a code for modifying a query so I can see how it works?
Regards