How to resolve require_once with unexpected error T_STATIC in PHP?

0

I'm using the link library from NFe.io to automatically issue invoices when PayPal and PayPal are " Payment ".

Try using the call in several ways, according to the documentation:

With Composer:

require_once('vendor/autoload.php');

Without Composer, downloading the library:

require_once ('client-php/lib/init.php');

And variations of them as:

require( dirname(__FILE__) . '/client-php/lib/init.php');

But I always get the error "unexpected T_STATIC", as I show below:

 <b>Parse error</b>:  syntax error, unexpected T_STATIC in <b>/home/storage/a/f7/10/vovocooks/public_html/temp/client-php/lib/NFe/APIResource.php</b> on line <b>79</b><br />

That is already in the library. I started using yesterday, but today (Saturday) no one should work at the NFe.io company and I need this help.

    
asked by anonymous 01.07.2017 / 14:36

0 answers