dualcube / moowoodle

The MooWoodle plugin is an extention of WooCommerce that acts as a bridge between WordPress/Woocommerce and Moodle.
22 stars 21 forks source link

Use of experimental xml-rpc feature #2

Closed lukecarbis closed 4 years ago

lukecarbis commented 8 years ago
Fatal error: Call to undefined function xmlrpc_encode_request() in /srv/www/wordpress-develop/src/wp-content/plugins/moowoodle/includes/dc-woodle-core-functions.php on line 114

From http://php.net/manual/en/function.xmlrpc-encode-request.php:

Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Not all hosts support xml-rpc, there should be an alternative implementation.

lukecarbis commented 8 years ago

My suggestion is to use Moodle's REST Protocol, instead of its XML-RPC protocol.

sumandualcube commented 4 years ago

Fixed.