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

Error showing game to not logged in users #278

Closed
naujoel opened this issue Jan 7, 2024 · 5 comments
Closed

Error showing game to not logged in users #278

naujoel opened this issue Jan 7, 2024 · 5 comments

Comments

@naujoel
Copy link

naujoel commented Jan 7, 2024

Surprisingly, when a user is not logged in to my website, the plugin looks bad, but when logged in it looks perfect. You can view screenshots attached:

Captura desde 2024-01-07 13-02-32

Captura desde 2024-01-07 13-03-12

I've tried a lot of things but obviously I haven't tried everything yet.

I have tried changing the permissions of the files and directories to 777; I have purged the site and browser caches several times, until disabling them completely; I have checked that javascript is activated in the different browsers; I have tried several WordPress themes and the same thing happens in all of them; I have set the default Wordpress .htaccess; The site works fine with all the plugins installed, it only happens with this one...

So I don't know what I can do anymore.

Has this problem happened to anyone else? is there a solution for this problem? Thank you.

@yo35
Copy link
Owner

yo35 commented Jan 7, 2024

What is the address of your website ? (typically the address of a page/post with this game)

@naujoel
Copy link
Author

naujoel commented Jan 8, 2024

Hello, thanks for answering. You can see the error in the following link: https://www.chesscampus.com/nepomniachtchi-vs-wang-hao-torneo-de-candidatos-2020/

@yo35
Copy link
Owner

yo35 commented Jan 8, 2024

Have you tried to disable lazy-loading of RPBChessboard-related CSS/JavaScript files? In settings > RPB Chessboard > Compatibility settings.

@yo35
Copy link
Owner

yo35 commented Jan 8, 2024

And by the way, there are some JavaScript errors on the page (see in the JavaScript console, available with F12 on Chrome or FF):

js-error

This is not related to RPB Chessboard (it looks like the theme tries to fetch the user's avatar, which is of course not available since no user is logged), but it may impact it if the error is not caught properly. I suggest you report the problem to the theme author.

@naujoel
Copy link
Author

naujoel commented Jan 10, 2024

Thanks for your quick response. We have managed to solve it. It was indeed a problem with the Wordpress theme:

https://www.chesscampus.com/nepomniachtchi-vs-wang-hao-torneo-de-candidatos-2020/

Thanks again. Greetings.

@yo35 yo35 closed this as completed Jan 10, 2024
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