Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Humm, yeah, that’s not a very helpful message.

    I can see an issue with the service worker script which may be causing the problem, however.

    In looking at https://www.breathinginchrist.com/?wp_service_worker=1

    Notice how there is some unexpected style tag appearing:

    		<style type="text/css">			.fts-facebook-add-more-posts-notice {
    				display: none !important;
    			}
    
    			.fts-jal-single-fb-post .fts-jal-fb-user-name {
    				color:  !important;
    			}
    
    			
    		</style>

    This is apparently due to your site printing a style at the wp_enqueue_scripts action when it should instead be using the wp_print_styles action, or even wp_head.

    While we need to make this more robust, if you fix that issue then I believe the service worker will install successfully.

    Thread Starter jrthor2

    (@jrthor2)

    Could this be from the theme I’m using? I’m using Avada, which bundles this Plugin with their theme.

    Thanks!

    Plugin Author Weston Ruter

    (@westonruter)

    The issue appears to be the Feed Them Social plugin. I can see that plugin is using the wp_enqueue_scripts action incorrectly. I’ve opened a support topic on their forum for them to fix the issue: https://www.ads-software.com/support/topic/incorrect-use-of-wp_enqueue_scripts-action/

    Thread Starter jrthor2

    (@jrthor2)

    Wow, awesome. Not sure how you figured that out so quick, but thank you very much!!

    Hey hey! Sorry for the delay. I made a fix to replace wp_enqueue_scripts with wp_print_styles. Replace your version of Feed Them Social with this one and see if it resolves the issue. Let me know and I’ll push a new version ??

    Spencer

    Thread Starter jrthor2

    (@jrthor2)

    I installed the updated Feed Them Social Plugin (version 2.8.3.4), cleared browser/server cache, but I am still seeing the error in the console of https://www.breathinginchrist.com.

    Thanks,
    Jason

    Well, shoot. I would say the quickest way around this issue would be to take whatever custom CSS you have created for FTS and put it somewhere else, possibly in your theme’s custom CSS options… and disable the custom CSS checkbox from our Settings > Global Options page as well. This should most definitely remove that error since that checkbox being checked it was tells the code to run that action. Maybe hop back over to our support forum so we are not bothering this developer ??

    Thread Starter jrthor2

    (@jrthor2)

    I replied on the other support forum, I am not using any custom CSS, and checkbox is not checked.

    Thread Starter jrthor2

    (@jrthor2)

    FYI, looks like the latest plugin update for Feed Them Social has fixed this console error, I do not see it anymore.

    Thanks!

    That’s good news. If you have a second and wouldn’t mind leaving a review for us, that would be awesome. Have a great week ahead! https://www.ads-software.com/support/plugin/feed-them-social/reviews/

    Spencer

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Sevice Worker Error’ is closed to new replies.