Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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

    #1055843

    Hey pippylu,

    Where can we see this problem on an actual page? What version of PHP are you using on the server?

    Best regards,
    Rikard

    #1056008

    Hey 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).

    #1056136

    Hi 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,
    Rikard

    #1056985
    This reply has been marked as private.
    #1057527

    Hi,

    Can you please re-upload the folders through FTP?
    It should solve the issue

    Best regards,
    Basilis

    #1057558

    I reuploaded Enfold through FTP, this didn’t fix the problem. Same error thrown in error logs, for what it’s worth.

    #1058174

    Hi pippylu,

    Please, upgrade your php to php7 and see if the issue persist.

    Best regards,
    Victoria

    #1058266

    That 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.
    #1059507

    Hi,

    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,
    Ismael

    #1059828

    I assume you’re looking on staging now, the credentials weren’t setup there but the ones from above should work on staging now, too.

    #1060930

    Hi,

    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,
    Ismael

    #1061301

    I 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.
    #1062471

    Hi,

    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,
    Ismael

    #1062988

    That was it! Thanks for finding that!

    #1063544

    Hi,

    You’re welcome. And thank you for your patience. Let us now if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Background Videos Break Page’ is closed to new replies.