alpacaaa / xpathr

be very very *very* careful
http://xpathr.com
11 stars 3 forks source link

Symphony Warning when creating new gist #1

Closed bauhouse closed 12 years ago

bauhouse commented 12 years ago

I installed Symphony 2.2.5 and followed the instructions in the working branch to install the application. I was able to successfully log in with GitHub OAuth. But when I try to create a new gist, I get the following error:

Missing argument 1 for Event::__construct(), called in /Users/stephen/Sites/sym/xpathr/extensions/xpathr/data-sources/data.gist_by_id.php on line 144 and defined
    /Users/stephen/Sites/sym/xpathr/symphony/lib/toolkit/class.event.php line 95

    90       *  passed by reference
    91       * @param array $env
    92       *  The environment variables from the Frontend class which includes
    93       *  any params set by Symphony or Datasources or by other Events
    94       */
    95      public function __construct(&$parent, Array $env = array()){
    96          $this->_Parent = $parent;
    97          $this->_env = $env;
    98      }
    99 
alpacaaa commented 12 years ago

Haven't tested on 2.2.5, sorry for the lack of explanations :)

Will look into that soon.

bauhouse commented 12 years ago

Thanks! That's working now.