Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Error with availability dates in AFM using RNB Rental plugin

WCMp Advanced Frontend Manager

Resolved
Viewing 9 reply threads
  • Author
    Posts
    • #140817
      WLS_FH
      Participant

      Hi,

      When adding availability dates in the ‘ADD INVENTORY’ we get receive this error.

      It happens after your latest update on AFM.

      [22-Jul-2022 19:06:11 UTC] PHP Fatal error: Uncaught Error: Class ‘WC_Redq_Rental_Post_Types’ not found in /home/briskby/public_html/wp-content/plugins/wcmp-frontend_product_manager/classes/integrations/class-wcmp-afm-rentalpro-integration.php:593
      Stack trace:
      #0 /home/briskby/public_html/wp-includes/class-wp-hook.php(307): WCMp_AFM_Rentalpro_Integration->form_submited()
      #1 /home/briskby/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
      #2 /home/briskby/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
      #3 /home/briskby/public_html/wp-includes/template-loader.php(13): do_action()
      #4 /home/briskby/public_html/wp-blog-header.php(19): require_once(‘/home/briskby/p…’)
      #5 /home/briskby/public_html/index.php(17): require(‘/home/briskby/p…’)
      #6 {main}
      thrown in /home/briskby/public_html/wp-content/plugins/wcmp-frontend_product_manager/classes/integrations/class-wcmp-afm-rentalpro-integration.php on line 593

    • #140840

      The error you are getting is because Rental plugin has changed its function name, hence this issue.

      We have fixed this in our mvx pro.
      For WCMp Frontend Manager, we have applied the same change in the code, let us know if this works. I am sharing the plugin in the below thread.

    • #140841
      This reply has been marked as private.
      • #140863
        WLS_FH
        Participant

        Could you please share a .zip package?
        Or if it is just a matter of one file that you updated, maybe I can just take that ?
        Thanks

    • #140868
      This reply has been marked as private.
    • #140875
      WLS_FH
      Participant

      It is working thank you.

    • #140876

      You are welcome 🙂

    • #141508
      WLS_FH
      Participant

      Hi there,

      Unofrtunately emerged another issue related to this.

      In AFM, block dates are just on a DATE basis, but no TIME basis.
      RNB plugin expects to have DATE+TIME, whilst on your AFM it’s only DATE and no TIME.
      We believe this causes an issue on the calendar in the front-end.

      Here is the same inventory as set by Vendors on AFM
      https://prnt.sc/BVAKmkGXXpNg

      Here is the same inventory as reflected on WP-admin – Inventory
      https://prnt.sc/LWApyEOoGA7V

      Here is the calendar in the frontend:
      https://prnt.sc/YcnFMwM_aMcn

      As you can see, the start and end date are never shown in the frontend calendar (we tested multiple times and noticed start and end date never show).
      Can you please check ?

    • #141510
      WLS_FH
      Participant

      Unofrtunately emerged another issue related to this.

      In AFM, block dates are just on a DATE basis, but no TIME basis.
      RNB plugin expects to have DATE+TIME, whilst on your AFM it’s only DATE and no TIME.
      We believe this causes an issue on the calendar in the front-end.

      Here is the same inventory as set by Vendors on AFM
      https://prnt.sc/BVAKmkGXXpNg

      Here is the same inventory as reflected on WP-admin – Inventory
      https://prnt.sc/LWApyEOoGA7V

      Here is the calendar in the frontend:
      https://prnt.sc/YcnFMwM_aMcn

      As you can see, the start and end date are never shown in the frontend calendar (we tested multiple times and noticed start and end date never show).
      Can you please check ?

    • #141569

      Hi,
      Kindly give us some time. We will check this and let you know.

      Regards,

    • #141625

      @WLS_FH, we are fixing this in our MultiVendorX pro, once that is done we will send the drive link.

Viewing 9 reply threads

The topic ‘Error with availability dates in AFM using RNB Rental plugin’ is closed to new replies.