Back to Image Databanks Support

steve20935
steve20935

When running php artisan october:optimize in the terminal, I get the following Cannot redeclare shortnum() (previously declared in C:\my-october-project\plugins\snipi\mediadatabanks\init.php:3).

Can you please confirm? Or is it a problem with my setup? FYI, I couldn't find any other functions with the same name so I can only assume this October process is trying to declare that function more than once for whatever reason.

daftspunky
daftspunky

May need a check

if (!function_exists('shortnum')) {  /* declare function */ }

1-2 of 2