Home › Forums › Legacy Support › 4.0 Bugs & Issues › elementor is not working
- This topic has 20 replies, 3 voices, and was last updated 3 years, 3 months ago by EduMEE2.
-
AuthorPosts
-
July 1, 2021 at 4:51 am #363477EduMEE2Participantafter latest update of wplms: elementor stopped working. i am facing this issue in all my 13 wplms sites. 13 wplms site, 13 different hosting plans like aws/ lightsail/ azure/ siteground/ bluehost etc php version is latest 7.4.20 / 8.0 mysql latest version folder permission 755 files permissions 644 deactivated all plugins, still issue is same. updated and downgrade the elementor and it also does not work. --- please identify the issue. none of the resouces are loading only from wp-content/ plugins/ elementor https://share.getcloudapp.com/nOuP1O9mJuly 2, 2021 at 1:27 pm #363702VeronicaModeratorhi check this: https://docs.wplms.io/pwa#editing-elementor-pages-when-service-worker-is-enabled https://docs.wplms.io/admin-guide-faqs#elementor-and-other-icons-go-missing-when-pwa-enabledJuly 3, 2021 at 7:44 am #363781EduMEE2Participanthow many assets i will add? i cant teach everyone to do the same deactivating service work because 200 people use elementor in site. also refer: https://share.getcloudapp.com/JruDe655July 5, 2021 at 1:13 pm #363987VeronicaModeratormeans on your site 200 people editing the site with elementor! please confirmJuly 5, 2021 at 2:59 pm #364020EduMEE2Participantyes instructors are using to create course units with elementor. its not about just for homepage.July 6, 2021 at 12:37 pm #364148VeronicaModeratorhi yes right we are working on this it can take time till then you need to follow the above methodJuly 6, 2021 at 6:16 pm #364190EduMEE2Participantthanks.July 7, 2021 at 7:44 am #364233VeronicaModeratorappreciate your patienceJuly 11, 2021 at 5:51 pm #364732EduMEE2Participantany update on this?July 12, 2021 at 1:55 pm #364808VeronicaModeratorhi try to add this code in wplms-customizer.php in wplms customizer plugin
add_Action('wp_footer',function(){ if(class_exists('\Elementor\Plugin') && \Elementor\Plugin::$instance->editor->is_edit_mode()){ $blog_id = ''; if(function_exists('get_current_blog_id')){ $blog_id = get_current_blog_id(); } $service_worker_url = get_rest_url($blog_id,Vibe_BP_API_NAMESPACE); ?> <script>if ('serviceWorker' in navigator && window.vibebp.api.sw_enabled) { navigator.serviceWorker.getRegistrations().then(registrations => { let check = registrations.findIndex((item)=>{ return (item.active.scriptURL == <?php echo $service_worker_url; ?> && item.active.state == 'activated') }); if(check > -1){ registrations[check].unregister().then(()=>{ location.reload() }); } }); } </script> <?php } });
July 12, 2021 at 5:49 pm #364851EduMEE2Participantif there is service worker enabled only then i need to add this code??July 13, 2021 at 8:07 am #364884VeronicaModeratoryesJuly 13, 2021 at 1:45 pm #364975EduMEE2ParticipantThis reply has been marked as private.July 14, 2021 at 12:27 pm #365081VeronicaModeratorhi well it is not necessary please try above code it will workJuly 28, 2021 at 12:12 pm #366587EduMEE2ParticipantThis reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.