• Resolved niftynath

    (@niftynath)


    Hey,

    Unfortunately I accidentally selected the empty space option when selecting between “RFQ Checkout / Normal Checkout” options. I have now been presented with a fatal error and I cannot access my website without deleting the plugin manually. I would like to continue to use the plugin but I will have to re-install the plugin when this is fixed for me:

    Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in C:\xampp\htdocs\test_site\wp-includes\link-template.php:355

    I also have a couple of other issues which I found before the plugin broke for me. One issue is that I cannot get rid of the “calculate shipping”. Another is that when I press “update totals” or whatever it is when calculating the shipping, the module seems to duplicate to the left.

    A third issue is that I am now for some reason getting “Please enter a valid postcode/ZIP”, even though my postcode is valid according to the shipping zones and was working before this plugin update.

    Thanks in advance!

    EDIT: I forgot to mention that when I attempt to re-install the plugin, the error occurs as soon as I press “Activate”.

    • This topic was modified 8 years ago by niftynath.
    • This topic was modified 8 years ago by niftynath.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Neah Plugins

    (@gplsaver)

    Hi,
    Thanks for reporting.
    there is an update 1.7.85 that hopefully resolves the issues. We have done a complete rewrite to improve theme compatibility and generated and fixed a lot of errors in the process. thanks for your patience.

    Thread Starter niftynath

    (@niftynath)

    Hi,

    I have downloaded the new version. I still get this upon activating it: Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in C:\xampp\htdocs\test_site\wp-includes\link-template.php:355

    Thread Starter niftynath

    (@niftynath)

    Here is the full error:

    Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in C:\xampp\htdocs\test_site\wp-includes\link-template.php:355 Stack trace: #0 C:\xampp\htdocs\test_site\wp-includes\link-template.php(318): _get_page_link(Object(WP_Post), false, false) #1 C:\xampp\htdocs\test_site\wp-includes\link-template.php(144): get_page_link(Object(WP_Post), false, false) #2 C:\xampp\htdocs\test_site\wp-includes\post.php(3272): get_permalink(Object(WP_Post)) #3 C:\xampp\htdocs\test_site\wp-content\plugins\woo-rfq-for-woocommerce\includes\classes\gpls_woo_rfq_functions.php(1892): wp_insert_post(Array) #4 C:\xampp\htdocs\test_site\wp-content\plugins\woo-rfq-for-woocommerce\woo-rfq-for-woocommerce.php(154): gpls_woo_rfq_check_menu() #5 C:\xampp\htdocs\test_site\wp-includes\plugin.php(524): GPLS_WOO_RFQ->gpls_woo_rfq_init(”) #6 C:\xampp\htdocs\test_site\wp-content\plugins\woocommerce\woocommerce.php(156): do_action(‘woocommerce_loa…’) #7 C:\xampp\htdocs\test_site\wp-content\plugins\woocommerce\woocommerce.php(116): in C:\xampp\htdocs\test_site\wp-includes\link-template.php on line 355

    Plugin Author Neah Plugins

    (@gplsaver)

    My apologies.
    1.7.86 should do it.
    This rewrite has been quite an experience for us.

    Thread Starter niftynath

    (@niftynath)

    Thank you for fixing the fatal error issue, I now have the plugin back.

    I am now discovering that when using the RFQ Checkout option, the shipping options do not show at all. Also, when proceeding to entering details before quote submission, I am faced with only a billing address without the checkbox option to input a separate shipping address, only “Order Notes” is available under “Additional Information”.

    I am also still getting “Please enter a valid postcode/ZIP.” upon quote submission. The shipping zones that I had set up seemed to be working fine before, the shipping address and options too.

    1 other thing. Along with the option to disable showing prices during, it would be nice if the words “total” and “subtotal” are not displayed in the section “Your Order” below where the user enters the billing address. Thanks again, great job!

    Plugin Author Neah Plugins

    (@gplsaver)

    “I am now discovering that when using the RFQ Checkout option, the shipping options do not show at all”
    that is fixed now in the latest update of 1.7.87 as of the date of this reply. if you updated already once you might have to update again. I updated 1.7.87 rather than push a new version.

    ” am also still getting “Please enter a valid postcode/ZIP.” upon quote submission.”
    That i am not sure what it is. see if it is fixed with this. disable the plugin see if you still get the error. that is usually caused by putting a non-numeric character in the zip code field.

    “it would be nice if the words “total” and “subtotal” are not displayed in the section “Your Order” below where the user enters the billing address’

    We used to override WooCommerce native templates to do that. That caused problems with themes that also overrode the WooCommerce themes. The current version does not do that. The templates (cart and checkout) can be overridden in order to remove those labels for RFQ checkout.

    Thread Starter niftynath

    (@niftynath)

    First of all, thanks for fixing the shipping options not showing. Okay, it seems that my shipping zones are indeed correct. I am in the UK so we have non-numeric characters in the post/zipcodes unfortunately. Somehow the problem disappeared when I unchecked the option “Hide shipping costs until an address is entered” in WooCommerce > Settings > Shipping > Shipping options. I then checked the option again and it continued to work. This is very strange, but maybe there was a conflict with the two plugins somewhere along the line, but it’s working now so all good!

    How would I go about overriding the templates? Are you talking about creating my own pages for the instances instead?

    Thanks very much again!

    Thread Starter niftynath

    (@niftynath)

    Also 1 other thing, is it possible to change the order status from “RFQ” to “Quote Request” or something, customers may not understand when looking at their order details. Thanks again.

    Plugin Author Neah Plugins

    (@gplsaver)

    “How would I go about overriding the templates? Are you talking about creating my own pages for the instances instead?”

    If you are referring to ““it would be nice if the words “total” and “subtotal” are not displayed in the section “Your Order” below where the user enters the billing address’”, I believe it is fixed in 1.7.88 both in checkout and main cart page. But generally i was referring to modifying templates in your theme/child theme…discussion beyond the scope of this plugin.

    “is it possible to change the order status from “RFQ” to “Quote Request” or something”
    Seems like a good idea. I have put that on our review list for future updates.

    If Woo-RFQ is helpful to you, consider rating us.

    Thread Starter niftynath

    (@niftynath)

    Oh right I understand, yes it is looking better to me. Thank you, I have done that.

    Shouldn’t shipping options only be displayed on the checkout page after the user has input their address, instead of on the basket page too?

    Plugin Author Neah Plugins

    (@gplsaver)

    That is a woocommerce setting, not woo-rfq setting.

    Thread Starter niftynath

    (@niftynath)

    Yeah I have checked the “Hide shipping costs until an address is entered” box and it’s still appearing. I think it is either to do with the address being stored in account or a cache, so that when the basket is viewed again after entering an address previously, it is automatically displaying the options in advance. Never mind, I guess it’s not too bad.

    Well, thanks very much for all of your help, I will respond if I encounter any more issues!

    Plugin Author Neah Plugins

    (@gplsaver)

    “when the basket is viewed again after entering an address previously, it is automatically displaying the options in advance.”
    I believe that is what is happening. Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fatal Error’ is closed to new replies.