Running php ayuco register widget:[WidgetName] I get the following warning;
Warning: Use of undefined constant empty - assumed 'empty' (this will throw an Error in a future version of PHP) in /Path/to/project/vendor/10quality/wpmvc-commands/src/Traits/RegisterWidgetTrait.php on line 66
Notice: Trying to get property 'empty' of non-object in /Path/to/project/vendor/10quality/wpmvc-commands/src/Traits/RegisterWidgetTrait.php on line 66
Hello @amostajo
Running
php ayuco register widget:[WidgetName]
I get the following warning;This seems to refer to these lines; https://github.com/10quality/wpmvc-commands/blob/v1.0/src/Traits/RegisterWidgetTrait.php#L66-L74
My PHP version is 7.2.8.
And to note the widget is registered so this is just a warning for now but it did indicate '(this will throw an Error in a future version of PHP)'