Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing console error, favorites never load #176

Open
jacksonp2008 opened this issue Mar 29, 2023 · 4 comments
Open

Seeing console error, favorites never load #176

jacksonp2008 opened this issue Mar 29, 2023 · 4 comments

Comments

@jacksonp2008
Copy link

PHP Version 7.4.33
Wordpress: 6.1.1
Chrome or Edge on MAC

Tried disabling cache on bluehost and disabling endurance page cache plugin but no change. Buttons appear in loading state and the totals never update: user favorites and post favorites

Seeing this error as well:

Screen Shot 2023-03-29 at 8 16 08 AM

Any suggestions?

@jacksonp2008 jacksonp2008 changed the title Seeing console error, favorites never loadins Seeing console error, favorites never load Mar 29, 2023
@jacksonp2008
Copy link
Author

Also in error log:
[31-Mar-2023 18:03:43 UTC] PHP Notice: Undefined variable: site_id in /home2/qkqazymy/public_html/wp-content/plugins/favorites/app/Listeners/FavoriteList.php on line 49

@jacksonp2008
Copy link
Author

And in debug mode we see a failed post.

Screen Shot 2023-03-31 at 11 11 23 AM

@jacksonp2008
Copy link
Author

Don't everyone jump on this at once..

@dustyyy
Copy link

dustyyy commented Jun 5, 2023

Ran into this same error. Traced it back to failing validation due to an invalid post type. I had to go to the settings and set the post types to enable Favorites for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants