lmsace / lmsace-connect-woocommerce

WooCommerce Extension - WordPress plugin to sell Moodle LMS courses through the WooCommerce
6 stars 2 forks source link

Can't import courses. #5

Open renataNavarro opened 1 year ago

renataNavarro commented 1 year ago

When the page for import courses into WooCommerce loads I get this error:

DataTables warning: table id=import-course-list - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

The connection tab shows "Connected Successfully."

renataNavarro commented 1 year ago

Now I'm also seeing a warning in WordPress: invalidrecord: Couldn't find data from this registeres in the table 'external_functions? in the database (translated from Portuguese - Não foi possível encontrar dados referentes a este registo na tabela 'external_functions' da base de dados. ). I'm using the latest WordPress 6.3.1, php 8.2.9 (I can't change it) and the latest versions of the plugins.

prasanna-lmsace commented 1 year ago

Hi @renataNavarro

Thank you for choosing our plugin,

It appears that the issue you've encountered may be related to Moodle itself, possibly due to an incomplete installation or a conflict with a previous version of LMSACE Connect. To resolve this, please ensure that you have correctly installed the lmsace-moodle-auth plugin in your Moodle platform

If you continue to experience difficulties, we will need access to your Moodle platform to investigate this further. If you could kindly provide us with your Moodle credentials, including access to the web service sections, please send them to info@lmsace.com and prasanna_t@lmsace.com.

Your cooperation is greatly appreciated.

renataNavarro commented 1 year ago

Hi @prasanna-lmsace Thank you for the quick reply. I think I found the problem. It works perfectly with php 8.1.9 or less, but I need to use it in a server running php 8.2.9. I don't know why they are using a php so new, but I can't change it right now. The bug is with the connection, the green message doesn't show, when I change tabs and come back to connection it shows connected, but in the import tab I have this error: image And when I try the connection again it keeps loading and goes nowhere again. Any chance the plugin start working with this php? Thank you again.