AJD
Forum Replies Created
-
Hi, thank you. The PHP version is 7.3. WP and EM are at the latest versions.
I did a test with only Events Manager active (all other plugins disabled) and the 2020 theme active and when I try to delete an event I still get this error message on a white screen:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/***/staging/1/wp-content/plugins/events-manager/em-actions.php on line 127
Warning: Cannot modify header information – headers already sent by (output started at /home/***/staging/1/wp-content/plugins/events-manager/em-actions.php:127) in /home/***/staging/1/wp-content/plugins/events-manager/classes/em-notices.php on line 46
I also deleted and reinstalled Events Manger just in case some of the core files were corrupted or had been altered.
Manage events page:
https://www.webpagescreenshot.info/#v2=-Yi9C_03oAfter clicking delete:
https://www.webpagescreenshot.info/#v2=_Y27uZyM8I can give you access to this development site if you would like to see it.
- This reply was modified 5 years, 11 months ago by AJD.
- This reply was modified 5 years, 11 months ago by AJD.
- This reply was modified 5 years, 11 months ago by AJD.
- This reply was modified 5 years, 11 months ago by AJD.
- This reply was modified 5 years, 11 months ago by AJD.
- This reply was modified 5 years, 11 months ago by AJD.
Any status update on this? Thanks
- This reply was modified 5 years, 11 months ago by AJD.
The issue triggers a white screen, not just a warning, and is stopping users from being able to delete events. Only admins can delete them.
Hi, thanks. That was set. I found the problem, it is an outdated template that had been overridden.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] All customers are being added as subscribedHello,
I couldn’t get it to work the way I wanted and decided to use a different plugin as I don’t really need the synchronization functions provided by this plugin. We just need to let customers sign up to the email list when they checkout.Forum: Plugins
In reply to: [Mailchimp for WooCommerce] All customers are being added as subscribedHi,
Thanks I’m giving that a try. I can’t delete the log info as editing is closed.Forum: Plugins
In reply to: [Mailchimp for WooCommerce] All customers are being added as subscribedHello,
Here are some details, thank you.
We are running SG Optimize and WP Rocket for caching, but the cart and checkout page is excluded.
Woocommerce version: 3.7.1
Wordpress 5.2.4
Php versions 7.1.33There is a error in the log:
2019-12-02T01:35:52+00:00 ERROR api :: processCurlResponse :: Array
(
[info] => Array
(
[url] => https://us15.api.mailchimp.com/3.0/ecommerce/stores/5cfasd6679d4/carts/385asdf34ef5e6cbc2cdce58b3fd0
[content_type] => application/problem+json; charset=utf-8
[http_code] => 404
[header_size] => 631
[request_size] => 366
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.193501
[namelookup_time] => 2.3E-5
[connect_time] => 0.021604
[pretransfer_time] => 0.078869
[size_upload] => 0
[size_download] => 200
[speed_download] => 1036
[speed_upload] => 0
[download_content_length] => 200
[upload_content_length] => -1
[starttransfer_time] => 0.19345
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 104.88.16.179
[certinfo] => Array
(
)[primary_port] => 443
[local_ip] => 146.66.72.149
[local_port] => 57426
[request_header] => DELETE /3.0/ecommerce/stores/5cc9bd06679d4/carts/3853faf52734ef5asfddce58b3fd0 HTTP/1.1
Host: us15.api.mailchimp.com
Authorization: Basic bWFpbGNoaW1wOjhhNWE0asdfOGQwNTFjOGIxN2YwZjFj
Accept: */*
Accept-Encoding: deflate, gzip
content-type: application/json
user-agent: MailChimp for WooCommerce/2.2.4; PHP/7.1.33; WordPress/5.2.4; Woo/3.7.1;)
[data] => Array
(
[type] => http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/
[title] => Resource Not Found
[status] => 404
[detail] => The requested resource could not be found.
[instance] => 516f0d52-a351-4180-9b52-974a0428021d
))
2019-12-02T01:35:53+00:00 ERROR api :: processCurlResponse :: Array
(
[info] => Array
(
[url] => https://us15.api.mailchimp.com/3.0/ecommerce/stores/5cc9bdf06679d4/carts/3853ffasd2734ef5e6cbc2cdce58b3fd0
[content_type] => application/problem+json; charset=utf-8
[http_code] => 404
[header_size] => 631
[request_size] => 366
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.199958
[namelookup_time] => 2.9E-5
[connect_time] => 0.020957
[pretransfer_time] => 0.072606
[size_upload] => 0
[size_download] => 199
[speed_download] => 1000
[speed_upload] => 0
[download_content_length] => 199
[upload_content_length] => -1
[starttransfer_time] => 0.199911
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 104.88.16.179
[certinfo] => Array
(
)[primary_port] => 443
[local_ip] => 146.66.72.149
[local_port] => 57622
[request_header] => DELETE /3.0/ecommerce/stores/5cc9bd06679d4/carts/3853faf52734ef5e6cbc2cdce58b3fd0 HTTP/1.1
Host: us15.api.mailchimp.com
Authorization: Basic bWFpbGNoaW1wOjhhNWE0ODNjYmQwNDQzOWVmOGQwNTFjOGIxN2YwZjFj
Accept: */*
Accept-Encoding: deflate, gzip
content-type: application/json
user-agent: MailChimp for WooCommerce/2.2.4; PHP/7.1.33; WordPress/5.2.4; Woo/3.7.1;)
[data] => Array
(
[type] => http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/
[title] => Resource Not Found
[status] => 404
[detail] => The requested resource could not be found.
[instance] => 050ca5c6-8c39-4e30-a3e3-b0bda8709adb
))u
- This reply was modified 6 years, 5 months ago by AJD.
Forum: Reviews
In reply to: [Gutenberg] WordPress takes 3 steps back with GutenbergI haven’t really tested the new version as I have been using the ‘Disable Gutenberg’ plugin.
But my first few tests, the interface is a bit better, but not much. Paragraphs still become blocks and when you edit a paragraph, the tool bar pops over the content above, so you can’t see your writing in context, that makes editing in it extremely frustration.
The icons and their functions are not intuitive or visually connected to the elements that they affect on the page. For example: the gear icon.
Why is Drop Cap a built in feature? That makes absolutely no sense.
There is not obvious way to get into code editing and code editing is miserable with all the Gutenberg comments.
Switching back and forth between Classic and Gutenberg editors causes problems.
When it is used in a theme which isn’t setup for Gutenberg the edit screen is still frustratingly narrow. I don’t see why there isn’t a default style added so that it is compatible with older themes, since they are forced to use it.
All in all, I’m sticking with “Disable Gutenberg” for the foreseeable future.
Thanks, I missed that part. Works perfectly now.
Okay, thanks. The filter to remove the flexible shipping is still not working.
I’ve tried clearing cache etc. It doesn’t give an error but it doesn’t work.
Hello,
Thanks I added all the changes in the code and it still doesn’t work to remove the flexible shipping methods.I’ll try and summarize:
I am using three shipping methods :
1) Flexible shipping for orders under $25 (ID: flexible_shipping_12_1)
2) Flexible shipping for orders over 25 and under $45 (ID: flexible_shipping_12_2)
3) Free shipping for orders over $45 (ID: free_shipping)I need to modify the available shipping methods based on normal or virtual products.
Virtual products do not count towards free shipping or towards the next tier of flexible shipping.
For example, a cart with $20 in virtual items and $10 in regular items will show a total of $30. In this case flexible shipping shows option 2 above. (flexible_shipping_12_2)
I need to remove the flexible_shipping_12_2 method and insert the flexible_shipping_12_1 method in this case.
If I can figure out how to do this, I can modify it for all other possibilities.
Thanks
- This reply was modified 6 years, 6 months ago by AJD.
Hello,
After testing the modified code, which looks like you have just changed the priority to 20 instead of 10. It is still not working to removed the flexible shipping options.for example I tried removing both of the flexible options:
‘if( ‘flexible_shipping_12_1’ == $rate->method_id ){
unset( $rates[ $rate_key ] ); //$7 shipping}if( ‘flexible_shipping_12_2′ == $rate->method_id ){
unset( $rates[ $rate_key ] ); //$5 shipping}’They are still being shown.
Thank you.
Can you point me in the direction of how to re-insert the flexible_shipping_12_2 after it has been removed?When the free shipping threshold is reached the flexible shipping options are no longer shown, I think because it assumes that the customer will want to choose free shipping. But we want to allow them to choose from all available shipping options.
Even more important is when virtual products have pushed the order total over the free shipping threshold, but using the code above free shipping won’t be an option and we want to make sure that the flexible shipping is available.
Hello,
Thanks for the reply. That article will help with what we need to do.