I updated Symphony to 2.0.7 and now the Breadcrumb custom DS (which uses ASDC) is throwing an error originating from the ASDC class:
Argument 2 passed to ASDCMySQL::connect() must be an instance of resource, resource given, called in /Users/nick/Sites/bekonscot-2.0.7/extensions/asdc/lib/class.asdc.php on line 73 and defined
An error occurred in /Users/nick/Sites/bekonscot-2.0.7/extensions/asdc/lib/class.asdc.php around line 242
This line:
public function connect($string, resource &$resource=NULL){
If I remove the strong-typing resource then I suppress the error from ASDC but the DS doesn’t output any XML as intended:
public function connect($string, &$resource=NULL){
I updated Symphony to 2.0.7 and now the Breadcrumb custom DS (which uses ASDC) is throwing an error originating from the ASDC class:
This line:
If I remove the strong-typing
resource
then I suppress the error from ASDC but the DS doesn’t output any XML as intended: