Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Seconding, thirding this request. Postal is a great self-hosted alternative and their API is very easy to work with.

    Here’s a full code snippet which should work to disable the above mentioned functionality:

    add_action ('init', function(){
    if (class_exists("WC_Stripe_Customer_Manager")) {
    remove_action('wp_loaded', [WC_Stripe_Customer_Manager::instance(), 'wp_loaded']);
    remove_action('woocommerce_checkout_update_customer', [WC_Stripe_Customer_Manager::instance(), 'checkout_update_customer']);
    }
    });

    Thread Starter plexusllc

    (@plexusllc)

    Thanks for the quick fix.

    On a site I manage, v 1.13.1 breaks the WooCommerce order tracking page whether that option is enabled or disabled in the hCaptcha plugin settings. With the plugin activated, whether the WooCommerce order tracking option is checked or unchecked:

    1. no captcha is rendered on the page
    2. when the form is submitted, an error page is displayed that says please complete the captcha.

    Another vote for bringing back the static icons.

    Thread Starter plexusllc

    (@plexusllc)

    thank you!

    – Download of json file at amazon backend isn’t available, so this is not possible

    if you mean the file to manual upload the key you need to get them from the Amazon Seller account

    Please show a screenshot of where you can download this json file from Amazon Seller Central for an already-existing Amazon Pay account.

    Thread Starter plexusllc

    (@plexusllc)

    Thank you, that’s perfect!

    (thanks also for taking over development on this plugin).

    • This reply was modified 4 years, 5 months ago by plexusllc.
    Thread Starter plexusllc

    (@plexusllc)

    Hi again @rogierlankhorst, I just noticed a little typo in class.ziprecipes.php on line 171.

    The line looks like:

    add_image_size( 'zrdn_recipe_image_json_4x3_s', 164, 198, true);

    But it should be:

    add_image_size( 'zrdn_recipe_image_json_4x3_s', 198, 164, true);

    The long and short dimensions were reversed somehow. The larger 4×3 thumbnails above that in the class file are correct.

    Thread Starter plexusllc

    (@plexusllc)

    Hey @rogierlankhorst thanks very much for your great work on getting this new feature shipped and also for fixing the image saving issue. Excellent job.

    Thread Starter plexusllc

    (@plexusllc)

    You are right about the javascript. I just did a cache-clearing (shift-cmd-R) reload on the page and that fixed the “clear images” problem.

    I can regenerate thumbnails but I’ve been reluctant to do it because there are thousands of images on this site and it will take a long time and eat a lot of CPU to do it.

    The existing image that is failing is definitely 475×475 px and exists as such in the media library and on the server’s filesystem. It seems odd that the validation won’t allow choosing this image.

    Thread Starter plexusllc

    (@plexusllc)

    I downloaded the latest zip and I see no difference in behavior at all from the last version. I still see the same thing happening when I click the “clear image” link. First it looks good, then I click save and when the page reloads, I’m in a blank new recipe.

    Unfortunately since this is my test system there is a fair amount going on in the debug log. But here is what is logged directly after pressing the save button after clicking “clear image”. I think that none of this is actually relevant:

    [03-Oct-2019 15:26:41 UTC] PHP Deprecated:  Non-static method Exif::init() should not be called statically in /var/www/test.example.com/htdocs/wp-includes/class-wp-hook.php on line 286
    [03-Oct-2019 15:26:41 UTC] PHP Deprecated:  Function create_function() is deprecated in /var/www/test.example.com/htdocs/wp-content/plugins/simple-taxonomy/simple-taxonomy.php on line 83
    [03-Oct-2019 15:26:42 UTC] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/test.example.com/htdocs/wp-content/themes/dt-the7/inc/extensions/options-framework/options-interface.php on line 801
    [03-Oct-2019 15:26:42 UTC] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/test.example.com/htdocs/wp-content/themes/dt-the7/inc/extensions/options-framework/options-interface.php on line 876
    [03-Oct-2019 15:26:42 UTC] PHP Notice:  add_shortcode_param is <strong>deprecated</strong> since version 4.4 (will be removed in 6.0)! Use vc_add_shortcode_param instead. in /var/www/test.example.com/htdocs/wp-includes/functions.php on line 4435
    [03-Oct-2019 15:26:42 UTC] PHP Notice:  add_shortcode_param is <strong>deprecated</strong> since version 4.4 (will be removed in 6.0)! Use vc_add_shortcode_param instead. in /var/www/test.example.com/htdocs/wp-includes/functions.php on line 4435
    [03-Oct-2019 15:26:42 UTC] PHP Notice:  is_archive was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/test.example.com/htdocs/wp-includes/functions.php on line 4773
    [03-Oct-2019 15:26:42 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/test.example.com/htdocs/wp-includes/functions.php on line 4773
    [03-Oct-2019 15:26:42 UTC] PHP Notice:  is_archive was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/test.example.com/htdocs/wp-includes/functions.php on line 4773
    [03-Oct-2019 15:26:42 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/test.example.com/htdocs/wp-includes/functions.php on line 4773
    [03-Oct-2019 15:26:42 UTC] PHP Deprecated:  Function create_function() is deprecated in /var/www/test.example.com/htdocs/wp-content/plugins/simple-taxonomy/simple-taxonomy.php on line 83

    I was also able to upload a new 475×475 pixel image to replace the generated 1×1 image. But I am NOT able to pick an existing 475×475 pixel image from the media library. When I try to do that (choosing the full-size image, which is 475×475 px), I get the low resolution error.

    Thread Starter plexusllc

    (@plexusllc)

    @rogierlankhorst Yes, the image saving is now working, sort of.

    If I click the image to change it to another one and then save it works great (yay!).

    But if I click the “clear image” link to get rid of it and then click save, after the page reload i am in a new blank recipe which has the same title, but none of the rest of the data from the original recipe.


    Still unable to use a 475×475 px image as the 1×1 version.

    But making excellent progress.

    Thread Starter plexusllc

    (@plexusllc)

    Yes, I just found there was a bug in the preview. It was always showing the spacer placeholder. This is now fixed on github. can you try replacing the class-field.php file? That should resolve the preview.

    Yes, that works. I see the preview thumbnails now.

    Thread Starter plexusllc

    (@plexusllc)

    NOTE: I inspected the UI with dev tools and I can see where the thumbnails are supposed to be showing. The src URLs for those images are 404ing and they look like this: https://test.example.com/wp-content/plugins/zip-recipes//images/s.png

Viewing 15 replies - 1 through 15 (of 24 total)