Azuracast: MountsController grabbing from station->getId() results into 500.

Created on 5 Feb 2018  路  5Comments  路  Source: AzuraCast/AzuraCast

  • Installation Method:
    Traditional on Ubuntu 16.04

Describe the issue in full detail, including screenshots if possible:
Saving Station data uses method "getId()" from the Station model.
Sadly it returns null on ->station

Occurred on saving a Mount's options:
[post(/put?)] station/1/mounts/edit/1

Result:
500: Call to a member function getId() on null (MountsController.php : 125)

The updates stick, though.

bug

All 5 comments

@xewl This should be fixed as of the latest code update.

Thought I'd keep you updated;
ran ./update.sh
Still there:
station/3/mounts/edit/3
Call to a member function getId() on null MountsController.php : 134

@xewl Sorry about that! Should be fixed again. Please verify and let me know.

Ok, it removed my symlinks to the nginx certificates (+ the server name) ending up in nginx bugging out. Which is outside of your support scope, and nothing I'm gonna bother you with. I need to set that up properly.

The change should be what it needed - & I hereby verify that the error is gone :)

Thanks for the update!

I have the same problem on centos7 docker installation:

500
Call to a member function getId() on null
MountsController.php : 134

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adamderann picture adamderann  路  4Comments

oussamatn picture oussamatn  路  3Comments

RemBdev picture RemBdev  路  4Comments

dpcee30 picture dpcee30  路  3Comments

bebjakub picture bebjakub  路  3Comments