Error Log
-
I’m getting the following errors in my wp-admin error log:
PHP Warning: get_object_vars() expects parameter 1 to be object, null given in /hustle-module-front-ajax.php on line 864
-
Hi @stinamariechris,
I’ve checked my Hustle test site with debug enabled but I’m afraid that I can’t replicate this warning anywhere in my WP admin.
Is it happening only on specific pages that you visit?
Also, could you provide us with some info about your setup, which version of Hustle and WordPress to do you have installed and what is the PHP version you’re running on?
Cheers,
PredragIt happens when the button is clicked on the slide in. You can see the slide in here: creaturecomfortsanimalhosp.com
PHP Version 7.3
Wordpress 5.5.1
Hustle Version 7.3.1On hustle-module-front-ajax.php on line 864, there’s code for tracking, which makes sense why I only get the error when the slide in is clicked.
Figured it out! Under Behavior > Additional Settings > External form conversion behavior > Do Nothing and it stopped the error.
I hope you are doing well.
I tried to switch to all settings on the External form conversion behaviour but it didn’t show any issue on the Query Monitor plugin which catches the warnings.
Could you please switch to the setting that you are having this problem, export the Slide-in at Module dashboard > Gear icon > Export.
https://premium.wpmudev.org/docs/wpmu-dev-plugins/hustle/#module-dashboards
Upload the JSON file to Google drive or any sharing service, and send to reply so we can try to replicate the problem.
Best Regards
Patrick FreitasThank you for your help: https://drive.google.com/file/d/1yaAij6J23eTAILETevQ__MErLHiSzoct/view?usp=sharing
I was wrong, changing that setting didn’t fix the error. I also can’t seem to determine when the error is displayed, when the slide in button is clicked or loaded.
I’m afraid the link is protected:
Request Sent
You’ll get an email letting you know if your request was approved.Could you switch to public or give the approval for the email that I requested?
Best Regards
Patrick FreitasSorry about that, it’s public now.
Thank you for the JSON.
I imported it to my lab website and followed the logs and the Query monitor plugin, but on any case I had the same warning.
Do you have a staging website?
If so, could you please run a conflict test following this workflow?
https://premium.wpmudev.org/wp-content/uploads/2015/09/Support-Process-Support-Process.gifLet us know the result you got.
Best Regards
Patrick FreitasI’ve removed combine jquery files in my caching plugin (WP Optimize) and it seems to have stopped the error for now.
Hello @stinamariechris,
Looks like some other script may have conflicted with one with Hustle. Usually, when such things happen, we suggest excluding scripts to be optimised from the plugin and then check if that works for you.
Also, when the error occurred, did you see any errors in the browser console?
Thank you,
Prathamesh PalveHello @stinamariechris ,
We haven’t heard from you for a while so it looks like you no longer need our assistance.
In any case please feel free to re-open this ticket.
kind regards,
Kasia
The topic ‘Error Log’ is closed to new replies.