Okay
  Public Ticket #2489417
Critical issue on the site caused by Amelia plugin
Closed

Comments

  •  1
    Mariia Panaran started the conversation

    Hello, I have a critical issue with Amelia code and its integration with woocommerce plugin. Every time  I get critical issue on my site when I pay (while checking the system) or smb pays for any product in site’s shop which doesn’t even have any connection with Amelia and is NOT Amelia appointment or another Amelia products. I can't understand why it emerges because the products in the shop of my site aren't even connected with Amelia plugin.  Meanwhile, when I pay for the Amelia appointments there are no error.  I would like to buy full version of the plugin  after this one year purchase code will expire but I am not prepared for solving such unpredictable illogical problems of Amelia. What’s wrong with the Amelia's code, why is this error emerging all the time? What should I do? Maybe you could help me? 

    The code of error in the log: 

     E_ERROR on the string 649 of file:  /home/m/marypanar/ruenunit.com/public_html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php. Сообщение об ошибке: Uncaught Error: Call to a member function getTimestamp() on bool in /home/m/marypanar/ruenunit.com/public_html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php:649 Stack trace: #0 /home/m/marypanar/ruenunit.com/public_html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php(708): AmeliaBookingInfrastructureWPIntegrationsWooCommerceWooCommerceService::getDateInfo('1', '1') #1 /home/m/marypanar/ruenunit.com/public_html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php(897): AmeliaBookingInfrastructureWPIntegrationsWooCommerceWooCommerceService::getItemData(Array, Array) #2 /home/m/marypanar/ruenunit.com/public_html/wp-includes/class-wp-hook.php(287): AmeliaBookingInfrastructureWPIntegrationsWooCommerceWooCommerceService::orderItemMeta(117, Object(WC_Order_Item_Product), Object(WC_Product_Simple)) #3 /home/m/marypanar/ruenunit.com/public_html


  • [deleted] replied

    Hello Mariaa Panaran, 

    Could you please tell me do you  have the newest version of Amelia, 2.8? If no, please update it following the instructions bellow and let me know if the issue is gone. We had this issue in one of the later versions of the plugin but it was fixed  in one of the updates some time ago. Sorry for any inconveniences this have caused.


    Please update the plugin manually by following these steps:

    1) Download the zip from our store

    2) Use FTP to open /yourwordpressfolder/wp-content/plugins

    3) Delete existing ameliabooking folder

    4) Upload previously downloaded ameliabooking folder through FTP to plugins folder (unzip it)

    5) Go to WP-admin panel, open Plugins section

    6) Deactivate Amelia Plugin, and then activate it again

    7) Clear server and browser cache

    ___________________________________________________________

    If you are using hosting where you are not allowed to your FTP  then follow those instructions:

    1) Download the zip from our store

    2) Delete Amelia plugin from WordPress Plugins page

    3) Click on Add new on Plugins page

    4) Click on Upload plugin on Plugins page

    5) Choose previously downloaded ameliabooking zip file

    6) When uploading is done, please Activate Amelia plugin

    7) Clear server and browser cache.

    Please note that if you delete plugin from Plugins page you WILL NOT lose your data, because it is already saved in your database.

    Please note that our plugin have a size of around 8 MB so if yo are not able to upload the plugin through WordPress plugins page, then you need to increase following:

    upload_max_file size, 

    post_max_size ,

    max_execution_time

    You should be able to find these values in your php.ini file or on your hosting panel. If you can't find it yourself please ask your hosting provider to provide it.


  •  1
    Mariia Panaran replied

    Hello, yes, it works well now, thank you so MUCH for updates, you do great job! It's nice to work with Amelia. I will try not to miss next updates. 

  • [deleted] replied

    Great, glad to see that everything is working well now. Thank you for letting me know.

    You are welcome. Glad to see you like working with Ameliasmile.png 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help.