Repository Forums Support Expiry dates for WooCommerce PRO Error on Product Admin Overview

Topic Resolution: Resolved
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #2384
    info63
    Participant

    Hi, i bought your cool plugin a few minutes ago. Installing, activating and set the Date was all OK and easy, it also works correct at the frontend, but at the Backend i have a Problem, that i breaks the Products Page. There were normally the Stock Numebr is displayed i have now an Error that says:

    Fatal error: Uncaught Error: Call to a member function backorders_allowed() on boolean in /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-content/plugins/soft79-wc-expiry-dates-pro/includes/SOFT79_WCXD_Product_Logic.php:98 Stack trace: #0 /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-content/plugins/soft79-wc-expiry-dates-pro/includes/admin/SOFT79_WCXD_Admin.php(244): SOFT79_WCXD_Product_Logic->getPurchasableStock() #1 /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-includes/class-wp-hook.php(286): SOFT79_WCXD_Admin->woocommerce_admin_stock_html(‘<mark class=”in…’, Object(WC_Facebook_Product)) #2 /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<mark class=”in…’, Array) #3 /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php(460): apply_filters(‘woocommerce_adm…’, ‘<mark class=”in…’, Object(WC_Facebook_Product)) #4 /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-includes/class-wp in /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-content/plugins/soft79-wc-expiry-dates-pro/includes/SOFT79_WCXD_Product_Logic.php on line 98

    Is your plugin maybe not compatible to the actual Versions of Woocommerce? I use 4.9.1 WP with 3.2.5 WC and i usually make every updates for security reasons after 2-3 Weeks after release, so its important for me that the plugin works with actual Versions.

    #2385
    Soft79
    Keymaster

    Hi,

    I think it’s an incompatibility with WC_Facebook_Product. Do you know what plugin WC_Facebook_Product belongs to? If not, please send me your WooCommerce System Status Report.

    PS: The plugin has been tested with WP 4.9.1 and WC 3.2.6

    #2389
    Soft79
    Keymaster

    Is it the Facebook for WooCommerce plugin by any chance? Does the issue go away if you temporarily disable that plugin?

    I tried to reproduce it on my dev environment with that plugin installed; but I don’t get any errors. Probably because I can’t set that plugin up without a Facebook account to test it with.

    #2390
    info63
    Participant

    I have to try it, bu i saw that the plugin does not work for variable Products, right? I thats correct, its completely useless for me. Is it planned to add this in the Future? I am willing to pay also an extra charge for that but without that, i can not use it 🙁

    #2391
    Soft79
    Keymaster

    I’ve been experimenting with variable products recently. I have to investigate further, but this will probably available soon.

    #2421
    Soft79
    Keymaster

    Hi,

    I just released v1.2.0-beta.1 which supports expiry dates on variations. Could you please try it out? It’s available at your account page.

    NOTE: The expiry rule must be set at the inventory-tab of the ‘main’ product. The expiry dates must be set at the variations-tab.

    Looking forward to your feedback!

    #2426
    info63
    Participant

    Hi and thanks for the Fast development, i tried it on one Product, it seems to work, thanks.

    #2516
    info63
    Participant

    I have somer more inputs for you and also a Bug. By generating an Invoice PDF, there is an Error Code includeded in the Expiry Date. Here we come to the Inputs (i have not found such Settings). It would be great to disable the Integration at the Cart / E-Mail / Invoice and only show the expiry Date on the Product Page.

    #2519
    Soft79
    Keymaster

    What error code is included in the PDF?

    On the page wp-admin > Products > Expiry Rules > your expiry rule you can find these settings:

    • Display expiry date on cart page
    • Display expiry date on product page
    • Display expiry date on order confirmation
    #2521
    info63
    Participant

    The code sais:

    77382: Warning: rawurldecode() expects parameter 1 to be string, array
    given in /var/www/vhosts/grill-bude.ch/dev.grill-bude.ch/wp-content/plugins/w
    oocommerce/includes/admin/meta-boxes/views/html-order-item-meta.php on
    line 46, Mindestens haltbar bis: 31. Juli 2018

    OK nice that there is an Option for that, sorry, i looked into the general Product Options.

    I’ve made a trial now with the only option activated “on Product Page” but is is shown already at the Mail, Deliver Note, Invoice and Order Admin?

    #2522
    Soft79
    Keymaster

    The setting will only have influence on new orders.

    Yes, I can replicate the warning message. I will look into it, but for now you can ignore it.

    #2523
    info63
    Participant

    Yes i made a new order to test it and the Bugs are like written above.

    #2524
    Soft79
    Keymaster

    Do you mean that when you place an order while ‘Display expiry date on order confirmation’ is disabled the expiry date is still added to the delivery note, mail and email? Can you send me such a delivery note to admin at soft79.nl?

    #2525
    info63
    Participant

    Yes. Shure, E-Mail is out.

    #2526
    Soft79
    Keymaster

    Ok, thanks. For now please disable WP_DEBUG_DISPLAY so the error messages are not visible on the invoice.

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.