dysath / seat-fitting

A Fitting/Doctrine module for SeAT
GNU General Public License v2.0
14 stars 21 forks source link

Trying to get property 'typeID' of non-object #53

Closed mikalv closed 3 years ago

mikalv commented 4 years ago

image

Haven't been able to figure out exactly which fitting/ship it can't handle, but what about a "try-catch" for the array_push around line 195 in FittingsController.php ? :)

Crypta-Eve commented 4 years ago

Hi! Thanks for the input... I can't tell you which fitting to look for other than to say the culprit is the changed names as part of ccps ongoing tiericide.

SeAT 4 is just around the corner and I have code in place on my test bench which deals with this issue more elegantly...

veteranmina commented 4 years ago

I'll see if I can't come up with a sql statement that can catch the tiercide changes and post it here later. I remember writing one back for mine to mass change them. (SeAT 3 instances)

veteranmina commented 4 years ago

If you are comfortable with SQL, you can run this as a SQL script. I ran this on my server successfully.

WARNING: BACKUP YOUR DATABASE BEFORE THIS. I AM NOT RESPONSIBLE FOR ANY ISSUES THIS MIGHT CAUSE. TierCide changes.zip

Crypta-Eve commented 4 years ago

There is a command being added shortly which will deal with all invalid fits.

Crypta-Eve commented 3 years ago

Closing this as all future dev on it will be handled in the same manner as #49