-
AuthorPosts
-
January 18, 2019 at 3:23 am #1055317
Enfold version 4.5.2. WordPress 5.0.3.
I have several pages on my site that use a color section with a background video with an mp4. They used to work fine but since all the updates lately they’ve stopped working. In fact, the whole page is gives up loading entirely if I’ve got one in there.PHP Fatal error: Call to undefined method avia_slideshow_video_helper::is_extern_service() in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 732
January 19, 2019 at 12:20 pm #1055843Hey pippylu,
Where can we see this problem on an actual page? What version of PHP are you using on the server?
Best regards,
RikardJanuary 20, 2019 at 1:41 am #1056008Hey Pippylu and Rikard,
I have the same issue. I’ve had to remove links to videos whether they are on the web server or from an external source like YouTube (which doesn’t autoplay at all).
January 20, 2019 at 11:35 am #1056136Hi dnweil,
Please open a new thread and include admin login details in private so that we can have a closer look at your site. Also please point out where we can see the problem, preferably on a test page.
Best regards,
RikardJanuary 22, 2019 at 2:12 am #1056985This reply has been marked as private.January 23, 2019 at 1:50 am #1057527Hi,
Can you please re-upload the folders through FTP?
It should solve the issueBest regards,
BasilisJanuary 23, 2019 at 4:44 am #1057558I reuploaded Enfold through FTP, this didn’t fix the problem. Same error thrown in error logs, for what it’s worth.
January 24, 2019 at 3:07 pm #1058174Hi pippylu,
Please, upgrade your php to php7 and see if the issue persist.
Best regards,
VictoriaJanuary 24, 2019 at 6:16 pm #1058266That sounded promising but unfortunately, did not help!
I’ve made a staging copy that displays the errors.
- This reply was modified 5 years, 11 months ago by christiemade.
January 28, 2019 at 4:51 am #1059507Hi,
Thanks for the update.
We can’t check settings with the current account. Please set the user role to admin and post the FTP details in the private field if possible.
Best regards,
IsmaelJanuary 28, 2019 at 11:04 pm #1059828I assume you’re looking on staging now, the credentials weren’t setup there but the ones from above should work on staging now, too.
January 31, 2019 at 12:36 pm #1060930Hi,
There’s a copy of the section.php shortcode file in the child theme folder. Please get a fresh copy of that file from the parent theme and re-do the modifications.
Best regards,
IsmaelJanuary 31, 2019 at 11:16 pm #1061301I already did this.
(Just to proove thats not the issue I have completely removed the override shortcode file)- This reply was modified 5 years, 10 months ago by christiemade.
February 4, 2019 at 4:16 am #1062471Hi,
Thanks for the update.
The “avia_slideshow_video_helper” class has been overridden in the functions.php file. You have to update it and include the “is_extern_service” function.
/** * Checks, if teh video * @since 4.4 * @param string $video_url * @return boolean */ static public function is_extern_service( $video_url ) { $ervice = avia_slideshow_video_helper::which_video_service($video_url); return in_array( $ervice, avia_slideshow_video_helper::$extern_services ); }
The original class is inside the config-templatebuilder > aviashortcodes > av-helper-slideshow.php file.
Best regards,
IsmaelFebruary 5, 2019 at 3:51 am #1062988That was it! Thanks for finding that!
February 6, 2019 at 10:46 am #1063544 -
AuthorPosts
- The topic ‘Background Videos Break Page’ is closed to new replies.