yo35 / rpb-chessboard

A WordPress plugin to display chess games and diagrams (using the standard FEN and PGN notations).
https://wordpress.org/plugins/rpb-chessboard/
GNU General Public License v3.0
36 stars 16 forks source link

Games are not shown on website #296

Closed fvanzutphen closed 1 month ago

fvanzutphen commented 2 months ago

On our website (www.sv-erasmus.nl) we used to present chess games using RPB-Chessboard. Before the last update everything was working fine, but since the last update it is not working anymore. We are using WordPress 6.6.1.

We used to use the code '[pgn url="https://www.sv-erasmus.nl/partijen/mcdonnell-labourdonnais.pgn" game=0]' to refer to the source of a pgn and that was working fine.

We also tried the [pgn] [/pgn] combination and in that case the games are shown in preview mode but not if I publish the page. For some reasons the Google Agenda (on the right side of our website) also changes it's presentation if a pgn reference (both alternatives) is on the page. In the preview mode the Google Agenda shows correctly.

I already deleted and reinstalled the RPB Chessboard plugin. Can you solve this issue and or help me what to do? Thanx!

yo35 commented 2 months ago

Hi, Which page on your website is supposed to contain a chess game?

fvanzutphen commented 2 months ago

All pages that are shown with the tag 'partijen' (is Dutch for games). See https://www.sv-erasmus.nl/tag/partijen/

yo35 commented 2 months ago

I suspect there is weird interaction between the plugin and your theme, but I don't have time to investigate more thoroughly today.

To solve the problem in the meantime, two possible solutions:

  1. In the admin, in Settings > RPB Chessboard > Compatibility settings, disable Lazy-loading for CSS/JavaScript files (and flush your website cache). I don't think this will solve the issue, but it's worth trying.
  2. Otherwise, try to re-install a previous version of RPB Chessboard. Procedure is described on https://blogvault.net/wordpress-downgrade-plugin/ for example.

And by the way, what is your theme?

fvanzutphen commented 2 months ago

I disabled the Lazy-loading option and now everything is working fine again :-) Thanx!