Closed benjamin74 closed 2 years ago
Do you have more info on the error or exception being thrown?
Yes:
Fatal error: Uncaught BadMethodCallException: Method separator does not exist. in /home/nginx/domains/mydomain.com/public/apihook-PROD/vendor/spatie/macroable/src/Macroable.php:66 Stack trace: #0 /home/nginx/domains/mydomain.com/public/apihook-PROD/src/fbscript.php(130): Spatie\Ray\Ray->__call() #1 {main} thrown in /home/nginx/domains/mydomain.com/public/apihook-PROD/vendor/spatie/macroable/src/Macroable.php on line 66
It seems like you are not using the latest version of the packe on the server.
On Fri, 26 Nov 2021 at 07:34, benjamin74 @.***> wrote:
Yes:
Fatal error: Uncaught BadMethodCallException: Method separator does not exist. in /home/nginx/domains/ mydomain.com/public/apihook-PROD/vendor/spatie/macroable/src/Macroable.php:66 Stack trace: #0 /home/nginx/domains/ mydomain.com/public/apihook-PROD/src/fb_cost_handler_adset_level.php(130): Spatie\Ray\Ray->__call() #1 https://github.com/spatie/ray/issues/1 {main} thrown in /home/nginx/domains/ mydomain.com/public/apihook-PROD/vendor/spatie/macroable/src/Macroable.php on line 66
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/spatie/ray/issues/601#issuecomment-979728665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADWEDMP2V7BZBEZLJSEZOLUN4S7PANCNFSM5IZGYXQA .
-- Freek Van der Herten https://spatie.be +32 495 84 27 91
I'm using 1.31.0 which is what github mentions as the latest (?)
composer.phar show
brick/math 0.9.3 Arbitrary-precision arithmetic library facebook/php-business-sdk 12.0.0 PHP SDK for Facebook Business guzzlehttp/guzzle 7.4.0 Guzzle is a PHP HTTP client library guzzlehttp/promises 1.5.1 Guzzle promises library guzzlehttp/psr7 2.1.0 PSR-7 message implementation that also provides common utility... psr/container 1.1.2 Common Container Interface (PHP FIG PSR-11) psr/http-client 1.0.1 Common interface for HTTP clients psr/http-factory 1.0.1 Common interfaces for PSR-7 HTTP message factories psr/http-message 1.0.1 Common interface for HTTP messages ralouphie/getallheaders 3.0.3 A polyfill for getallheaders. ramsey/collection 1.2.2 A PHP library for representing and manipulating collections. ramsey/uuid 4.2.3 A PHP library for generating and working with universally uniq... spatie/backtrace 1.2.1 A better backtrace spatie/macroable 1.0.1 A trait to dynamically add methods to a class spatie/ray 1.31.0 Debug with Ray to fix problems faster symfony/deprecation-contracts v2.5.0 A generic function and convention to trigger deprecation notices symfony/polyfill-ctype v1.23.0 Symfony polyfill for ctype functions symfony/polyfill-mbstring v1.23.1 Symfony polyfill for the Mbstring extension symfony/polyfill-php80 v1.23.1 Symfony polyfill backporting some PHP 8.0+ features to lower P... symfony/polyfill-php81 v1.23.0 Symfony polyfill backporting some PHP 8.1+ features to lower P... symfony/service-contracts v2.5.0 Generic abstractions related to writing services symfony/stopwatch v5.3.4 Provides a way to profile code symfony/var-dumper v5.3.11 Provides mechanisms for walking through any arbitrary PHP vari.
It seems like we messed up the release. The function is available in the newly released v1.32.0 of the package.
Thanks for bringing this issue to our attention.
Hey,
Ray App: Version 1.18.3 (1.18.3)
Ray php: 1.31.0
Server: PHP 7.4.21 (cli) (built: Jul 8 2021 19:38:45) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.21, Copyright (c), by Zend Technologies
When calling : ray()->separator(); it creates an error 500 right at the point where the ray()->separator(); is called... i.e. Ray calls happening before the separator() are sent to the ray app... but as soon as ray()->separator(); is executed the server sends a 500 error.
Thanks,