Added this, then added the previous fix but still got NULL.
Are you viewing as yourself, or as a guest? Just wondering.
Added this, then added the previous fix but still got NULL.
In XenTrade_Controller_Public, does $this->hasPermission() usually have a $user? I should probably charge my computer... Lol.Meh, might as well set up PHP 5.4 myself.
In XenTrade_Controller_Public, does $this->hasPermission() usually have a $user? I should probably charge my computer... Lol.
Ok, let me know if you need any info from me.
I'm on a phone. Give me a break. XenTrader_ControllerPublic_Index. I feel like I remember most don't have a $user passed. Quick glance I remember being confused on how it worked.
protected function _assertHasPermission($permission = '', $user = null)
{
if (!$this->getModelFromCache('XenTrader_Model_Feedback')->hasPermission($permission, $user))
throw $this->responseException($this->responseNoPermission());
}
I really need to learn PHP
So any chance you can fix it?![]()
Too late! I know. I'll charge my laptop in a few minutes. I'm not sure what PHP version I actually have.Judging from my knowledge of the code and how I derped a bit (shh, don't let KK know), I'd say wait for KK to charge his laptop up.![]()
No. I'll give it a look during lunch.Did you get a chance to take a look?
http://www.php.net/manual/en/language.references.pass.phpCall-time pass by reference has been removed.
http://www.php.net/manual/en/migration54.incompatible.php
http://www.php.net/manual/en/language.references.pass.php
public function standardizeViewingUserReference(array &$user = null) - wrong construction in php 5.4
We use essential cookies to make this site work, and optional cookies to enhance your experience.