Okay
  Public Ticket #3361065
information step bug
Closed

Comments

  •  1
    netwerk started the conversation

    Hi, 

    We use Amelia with Woocommerce. Sometimes Amelia booking dont move from step "information" to the next step. We could not reproduce this error, since it happens not all the time but sometimes. 

    Is there any way we can resolve this bug? 

    You can check this bug: 

    https://drive.google.com/file/d/1w7iYdAmGdioHHTSCesVvLM4WjCEGAwK8/view

    Zsolt

  •  1
    netwerk replied

    This is the error on console: 

    TypeError: Cannot read properties of null (reading 'trim')
        at Pe (stepForm.2a2af658.js:2393:117676)
        at stepForm.2a2af658.js:2393:118201
        at Vr (stepForm.2a2af658.js:4:656)
        at Jn (stepForm.2a2af658.js:4:735)
        at Vs.l [as fn] (stepForm.2a2af658.js:4:10580)
        at Vs.run (stepForm.2a2af658.js:1:6917)
        at Array.m (stepForm.2a2af658.js:4:10892)
        at Zg (stepForm.2a2af658.js:4:1981)
        at Zk (stepForm.2a2af658.js:4:2250)
    aD @ stepForm.2a2af658.js:4
    ma


  •  1,620
    Marko replied

    Hello ,

    Thank you for reaching out to us.

    Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

    Looking forward to your reply. 

    Kind Regards, 

    Marko Davidovic [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    netwerk replied

    Hi Marko, 

    This site is full with sensitive data, I don't think I have permission to give you admin user rights to it. Would you please write me the steps of troubleshooting? May the error shown in console leaded to the bug?

    One more information, which may help: This  bug occurs only when logged-in user book an appointment. In the case when no logged in user, Amelia works normally.

    What you guess: AJAX , or jQuery version? or other JS ? 

    Zsolt

  •  1,620
    Marko replied

    Hello again we honestly can not say.

    Would you be able to provide us with a staging site, along with WP-admin (Administrator) user, FTP, and the database, so our developers can debug the plugin, and see what's going on?

    If you're not able to provide us with a staging site, can you clone your website?

    If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    The Duplicator plugin can export only up to 500MB of data, so if your site is bigger than that, please use the All-in-One WP Migration plugin.

    Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link. 


    Kind Regards, 

    Marko Davidovic [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   netwerk replied privately
  •   Miloš replied privately
  •  1
    netwerk replied

    Hi Miloš,

    It doesn't work...

    I made the troubleshooting steps you've written: 

    • Search for all users with Email [email protected]. Result:  It's impossible to have two users with same e-mail. WP does not allow it. 
    • Check if there is an Administrator with this Email. Result:  No
    • So if this user has a role as Amelia Customer and Employee or Customer and Manager, etc;
      you have to remove one Amelia Role from them. Result: This user has a role of Subscriber.

    I checked the console log and find an error in your software. Maybe this help us to fix the error. 

    TypeError: Cannot read properties of null (reading 'trim')
        at Pe (stepForm.2a2af658.js:2393:117676)
        at stepForm.2a2af658.js:2393:118201
        at Vr (stepForm.2a2af658.js:4:656)
        at Jn (stepForm.2a2af658.js:4:735)
        at Vs.l [as fn] (stepForm.2a2af658.js:4:10580)
        at Vs.run (stepForm.2a2af658.js:1:6917)
        at Array.m (stepForm.2a2af658.js:4:10892)
        at Zg (stepForm.2a2af658.js:4:1981)
        at Zk (stepForm.2a2af658.js:4:2250)

    And one more perception: 

    The process of the non-working user (teszt300) was the following: 

    1. Without login, a user selected the Woccomerce Product
    2. Woocmmerce Product has an appointment. User booked an appointment. When Amelia asked for the first name, the user put "xy". 
    3. On WC checkout the user gives details. Hi put "teszt300" as his first name. It was not the same as he had been put into Amelia's first name field!!!
    4. He ordered another WC product with appointment, but Amelia stopped when asked for first name. The first name field is populated with "xy". This is not his real first name, but the same value as he had been entered in the previous appointment-booking process. 

    Therefore: 

    I cheked amelia_users table. The externalId column is filled. I manually updated the e-mail column with the e-mail of the customer, and the appontment process worked! 

    Sum it up: Amelia did not fill out properly the amelia_users table when a not -registered user made an appointment, and register on woocommerce checkout page. 

    I solved this bug in Amelia, please fix it!

    Zsolt

  •   Aleksandar replied privately