Namespace error after 2 years


#1

Hi,
I have a cronjob which has just started to stop working after 2 years throwing an error on the namespace. It is cakephp3.2 and i dont know how to fix this .It has been working for past 2 years so i suspect the server has been updated

PHP Fatal error: Namespace declaration statement

namespace App\Shell;

use Cake\Console\Shell;
use Cake\Controller\ComponentRegistry;
use App\Controller\Component\XeroAPIComponent;

class InvoicingShell extends Shell {


#2

Is PHP Fatal error: Namespace declaration statement the full error message? PHP errors normally give a file name and line number too?