REST API is at war with Union Datasource. Causing an Error
This is an open discussion with 2 replies, filed under Troubleshooting.
Search
What if you add at line 5:
require_once(EXTENSIONS . '/rest_api/lib/class.rest_api.php');
The thought is that the Union Datasource is directly calling this file, whereas typically this file may be invoked by the Rest API extension being initialised.
@brendo - I added your suggestion above, I get the following now...
Fatal error: Class 'REST_Entries' not found in /Users/myuser/Repositories/site/extensions/rest_api/data-sources/data.rest_api_entries.php on line 30
Create an account or sign in to comment.
First off, I am running Symphony 2.3.3.
OK, Here's what I have.
I want to install both REST API and Union Datasource.
This is weird, because I was able to create datasources with REST API installed before. But when I install Union Datasource, side-by-side, REST API freaks out.
What could be causing this error?
Could someone look over the rest_api/data-sources/data.rest_api_entries.php on line 29 to see what could be triggering this error when trying to create a datasource with REST API installed?
I for the life of me cannot figure out what's causing it.
NOTE: Union Datasource works fine from what I can tell when REST API is not installed. I am able to create a datasource. The problem happens when both are installed at the same time.