Warning: Cannot bind method ProductDatabaseRepository::findReferenceBySku() to object of class ProductCachedRepository, this will be an error in PHP 9 in /in/CFE1u on line 67
Fatal error: Uncaught TypeError: ProductCachedRepository::findReferenceBySku(): Return value must be of type Product, null returned in /in/CFE1u:67
Stack trace:
#0 /in/CFE1u(92): ProductCachedRepository->findReferenceBySku('sku1')
#1 {main}
thrown in /in/CFE1u on line 67
Process exited with code 255.
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Warning: Cannot bind method ProductDatabaseRepository::findReferenceBySku() to object of class ProductCachedRepository in /in/CFE1u on line 67
Fatal error: Uncaught TypeError: ProductCachedRepository::findReferenceBySku(): Return value must be of type Product, null returned in /in/CFE1u:67
Stack trace:
#0 /in/CFE1u(92): ProductCachedRepository->findReferenceBySku('sku1')
#1 {main}
thrown in /in/CFE1u on line 67
Process exited with code 255.
Output for 8.0.1 - 8.0.15
Parse error: syntax error, unexpected token ")" in /in/CFE1u on line 67
Process exited with code 255.
Output for 7.4.0 - 7.4.27
Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting variable (T_VARIABLE) in /in/CFE1u on line 13
Process exited with code 255.