PHP Fatal error: Uncaught Error: Call to undefined function Aws\parse_ini_file() in /var/www/html/wp-content/plugins/CdnPurge/libraries/deps/aws/aws-sdk-php/src/Configuration/ConfigurationResolver.php:121
Because there was a call to a function not being prefixed:
I think that the problem is the '@' because strauss works correctly if I manually remove it on the original file before launching the prefix-namespaces command.
Hi,
composer.json
:I had a fatal error on my plugin :
PHP Fatal error: Uncaught Error: Call to undefined function Aws\parse_ini_file() in /var/www/html/wp-content/plugins/CdnPurge/libraries/deps/aws/aws-sdk-php/src/Configuration/ConfigurationResolver.php:121
Because there was a call to a function not being prefixed:
$data = @\Aws\parse_ini_file($filename, true, INI_SCANNER_NORMAL);
instead of:
$data = @\TESt\CdnPurge\Aws\parse_ini_file($filename, true, INI_SCANNER_NORMAL);
I think that the problem is the '@' because strauss works correctly if I manually remove it on the original file before launching the prefix-namespaces command.
Thanks