PHP 8.0
Ray 1.7.5
Fatal error: Uncaught Error: Spatie\WordPressRay\Spatie\Ray\Payloads\Payload::getOrigin(): Return value must be of type Spatie\WordPressRay\Spatie\Ray\Origin\Origin, Spatie\Ray\Origin\Origin returned
in wp-content/mu-plugins/wordpress-ray/vendor/spatie/ray/src/Payloads/Payload.php on line 60
Call stack:
Spatie\W\S\R\P\Payload::getOrigin()
Spatie\W\S\R\P\Payload::toArray()
Spatie\W\S\R\Request::Spatie\W\S\R\{closure}()
array_map()
Spatie\W\S\R\Request::toArray()
Spatie\W\S\R\Request::toJson()
Spatie\W\S\R\Client::send()
Spatie\W\S\R\Ray::sendRequest()
Spatie\WordPressRay\Ray::sendRequest()
Spatie\W\S\R\Ray::send()
ray()
move_export_file()
WP_Hook::apply_filters()
WP_Hook::do_action()
do_action()
pmxe_wp_ajax_wpallexport()
WP_Hook::apply_filters()
WP_Hook::do_action()
do_action()
Hi,
I have remote enviroment using gitpod, and i want to debugging that enviornment, but port 22 was used by Visual Code for accessing the container, can i do remote debugging using this plugin and connecting to my local ray app ?
Thanks
]]>Hello,
Ray looks like a very promising tool, however the install instructions are not clear at all.
Here is what I did :
– installed Ray desktop app for Mac OSX
– use “Local” app (localwp.com) to install a wordpress locally
– installed the Ray plugin
– created a dummy plugin to generate some calls to ray and see if it works…
Basically this plugin only contains the line (+ plugin header lines of course) .
ray()->showQueries();
Now I get some queries displayed in the Ray desktop app… but the site doesn’t load anymore and it displays :
( ! ) Fatal error: Uncaught Error: Call to undefined function ray() in /Users/BenMacBook/Local Sites/ray/app/public/wp-content/plugins/aaa-plugin/aaa-plugin.php on line 30
( ! ) Error: Call to undefined function ray() in /Users/BenMacBook/Local Sites/ray/app/public/wp-content/plugins/aaa-plugin/aaa-plugin.php on line 30
I really don’t know what I did wrong…
I didn’t create any ray.php configuration file as described here : https://spatie.be/docs/ray/v1/configuration/wordpress because I had no clue where I should put this file in my wordpress install + I already had the plugin installed and thought it would probably also generate the configuration (but maybe I’m wrong).
Any idea ?
Thanks a lot,
]]>