Conversation
supportWhilst one of my sites now works flawlessly after recent updates, I have issues with three other sites where Lightroom is not working. It fails to open Photo of the Day (in the Footer), Slideshow images and video. Moreover, it no longer displays the Gallery in 3 column format, though oddly does display sub-galleries correctly as 3 columns. This occurs with Google Chrome, Edge and FireFox. The example given is for one of these websites but all sites have the following: WordPress Version 7.0 Database Version MySQL 8.0.36 PHP 8.3.31 WP Photo Album Plus 9.2.03.001 I have compared the site plugins for any pattern that might explain this, but deactivating those that are not in the working site makes no difference. Oddly, whilst comparing the contents of the wp-config.php files, I altered the permissions to match that for my working site and for a brief few minutes of testing, the Gallery display and Lightroom worked. Can you please guide me as to what to try next. Thank you Jacob. The page I need help with: [ log in to see the link]
Its even worse: the page of your link initially stays is blank in firefox and chrome The browser console tells me that ‘https://pagead2.googlesyndication.com/apps/domainpark/show_afd_ads.js’ can not be loaded because the MIME-type (‘text/html’) mismatch. After an extra enter in the address line, it says: Error establishing a database connection. or Database error Almost every pageload i have to agree the use of cookies When i finally habe a page with thumbnails and click one, i get another Error establishing a database connection. So, at this moment i can not troubleshoot your issue. Maybe a temporarely server issue?
Hmm. What a pain. It works for me now though is running a bit slower than usual
ps working from the point of view of accessing the web pages; same issues as reported
I can now see the issue. If you have ftp access to the site, please delete https://www.icknieldwaymorrismen.org.uk/wp-content/plugins/wp-photo-album-plus/js/wppa-all.js It then loads the uncompressed js files so i can see where the error happens error: Uncaught TypeError: can’t access property “src”, document.getElementById(…) is null Do not forget to clear all caches after you delete wppa-all.js This reply was modified 4 days, 5 hours ago by Jacob N. Breetvelt . Reason: clear cache added
Thank you for looking. Now done.
Thanx. i see what happens and will investigate further. pls keep it this way until further notce.
Will do.
What is colorbox (cbox) ?? What is hu-blocked ?? The wppa javascript is not properly loaded/executed (hu-blocked) So, if you can imagine where hu-blocked comes from, de-activate it Also, if you have a different lightbox (colorbox?) de-activate it.
I could not find where colorbox came from but it is hu-blocked that is the culprit. It comes from the plugin Compliance by Hu-manity.co used to set cookie preferences. I have not reactivated it, just so you can see for yourself. Interestingly, the following site also uses this plugin … but wppa+ works flawlessly if you go to the Gallery or click on Photo of the day: https://www.sunwheelgrove.co.uk/ Curiouser and curiouser! Can you please suggest what is the next step. Thank you for your persistence with this.
Thanx for this info I will try Compliance by Hu-manity.co on my test site
I can not reproduce the problem. Are there any difference in the settings of the Compliance plugin between the sites that has and has not the problem?
Unfortunately, I do not see any differences. When I originally set them up, all settings were the same for each site and there were no problems.
Can you change it back so that it shows the issue again? then i can pick up the wrong code from the pagesource to further investigate, and maybe ask the compliance people to chamge something As soon i have it, i will inform you.
Thank you for that. It is now restored.
Got it. You can revert. This is the offender: <script id="wppa-js-after" class="hu-blocked" type="javascript/blocked" data-script=""\njQuery(\"body\").append(' <div id=\"wppa-overlay-bg\"... It should read: <script id="wppa-js-after"> jQuery("body").append(' <div id="wppa-overlay-bg" style="... <script id="wppa-js-after" ... is my inline js. but it is damaged by the hu compliance plugin, see: class="hu-blocked" type="javascript/blocked" Therefor the jQuery().append() is not executed, and that is the code for lightbox. This is my proof that hu compliance damages it.
Thank you. I had a thought later about how severe the consent preferences in Compliance might be, and discovered something I had not noticed before. If Ad Personalization is not checked, then WPPA+ is prevented from working. Just clicking Basic Settings, does not work …. and neither does it allow Google ReCaptcha, which in turn blocks feedback forms from working. If I scroll further down the settings page on the live site, I find more information which has rolled of the page, so would not usually be seen. It lists what is and is not blocked … but it is an incomplete list and unless you scroll the visitor would be unaware of the impact of what they have done. I hope this makes sense, but you may wish to try this with your test site.
In the mean time i dropped this at the compiance boys: https://wordpress.org/support/topic/damages-other-plugins-inline-javascript/ Let us wait for their answer
Its even worse: the page of your link initially stays is blank in firefox and chrome The browser console tells me that ‘https://pagead2.googlesyndication.com/apps/domainpark/show_afd_ads.js’ can not be loaded because the MIME-type (‘text/html’) mismatch. After an extra enter in the address line, it says: Error establishing a database connection. or Database error Almost every pageload i have to agree the use of cookies When i finally habe a page with thumbnails and click one, i get another Error establishing a database connection. So, at this moment i can not troubleshoot your issue. Maybe a temporarely server issue?
Hmm. What a pain. It works for me now though is running a bit slower than usual
ps working from the point of view of accessing the web pages; same issues as reported
I can now see the issue. If you have ftp access to the site, please delete https://www.icknieldwaymorrismen.org.uk/wp-content/plugins/wp-photo-album-plus/js/wppa-all.js It then loads the uncompressed js files so i can see where the error happens error: Uncaught TypeError: can’t access property “src”, document.getElementById(…) is null Do not forget to clear all caches after you delete wppa-all.js This reply was modified 4 days, 5 hours ago by Jacob N. Breetvelt . Reason: clear cache added
Thank you for looking. Now done.
Thanx. i see what happens and will investigate further. pls keep it this way until further notce.
Will do.
What is colorbox (cbox) ?? What is hu-blocked ?? The wppa javascript is not properly loaded/executed (hu-blocked) So, if you can imagine where hu-blocked comes from, de-activate it Also, if you have a different lightbox (colorbox?) de-activate it.
I could not find where colorbox came from but it is hu-blocked that is the culprit. It comes from the plugin Compliance by Hu-manity.co used to set cookie preferences. I have not reactivated it, just so you can see for yourself. Interestingly, the following site also uses this plugin … but wppa+ works flawlessly if you go to the Gallery or click on Photo of the day: https://www.sunwheelgrove.co.uk/ Curiouser and curiouser! Can you please suggest what is the next step. Thank you for your persistence with this.
Thanx for this info I will try Compliance by Hu-manity.co on my test site
I can not reproduce the problem. Are there any difference in the settings of the Compliance plugin between the sites that has and has not the problem?
Unfortunately, I do not see any differences. When I originally set them up, all settings were the same for each site and there were no problems.
Can you change it back so that it shows the issue again? then i can pick up the wrong code from the pagesource to further investigate, and maybe ask the compliance people to chamge something As soon i have it, i will inform you.
Thank you for that. It is now restored.
Got it. You can revert. This is the offender: <script id="wppa-js-after" class="hu-blocked" type="javascript/blocked" data-script=""\njQuery(\"body\").append(' <div id=\"wppa-overlay-bg\"... It should read: <script id="wppa-js-after"> jQuery("body").append(' <div id="wppa-overlay-bg" style="... <script id="wppa-js-after" ... is my inline js. but it is damaged by the hu compliance plugin, see: class="hu-blocked" type="javascript/blocked" Therefor the jQuery().append() is not executed, and that is the code for lightbox. This is my proof that hu compliance damages it.
Thank you. I had a thought later about how severe the consent preferences in Compliance might be, and discovered something I had not noticed before. If Ad Personalization is not checked, then WPPA+ is prevented from working. Just clicking Basic Settings, does not work …. and neither does it allow Google ReCaptcha, which in turn blocks feedback forms from working. If I scroll further down the settings page on the live site, I find more information which has rolled of the page, so would not usually be seen. It lists what is and is not blocked … but it is an incomplete list and unless you scroll the visitor would be unaware of the impact of what they have done. I hope this makes sense, but you may wish to try this with your test site.
In the mean time i dropped this at the compiance boys: https://wordpress.org/support/topic/damages-other-plugins-inline-javascript/ Let us wait for their answer