• Resolved Larry Daniele

    (@larrydaniele)


    In AIOVG v1.6.4, the Twitter Social Button for videos are broken on our site.

    For example, on this video page the Twitter link is broken and results in:

    This page isn’t working
    If the problem continues, contact the site owner.
    HTTP ERROR 400

    This could be a Twitter problem, but I’m doubtful that a problem such as this would persist for days on their side. So I wonder if the AIOVG URL is of the correct form. Or perhaps there is some other problem here.

    For the record, Facebook links are working fine.

    • This topic was modified 5 years, 3 months ago by Larry Daniele.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Aah. This is an issue coming from plugin itself but occurs only when your title uses the pipe (|) character. Our next version will have this solved. As an immediate solution, kindly follow the steps below,

    1. Open /wp-content/plugins/all-in-one-video-gallery/includes/functions.php

    2. Locate the function named ‘the_aiovg_socialshare_buttons’

    3. Find the line,
    $title = str_replace( ' ', '%20', $title );

    4. Change it as,

    $title = str_replace( ' ', '%20', $title );
    $title = str_replace( '|', '%7C', $title );

    5. Save the changes and try now.

    Hope, this solved your issue!

    Thread Starter Larry Daniele

    (@larrydaniele)

    Thanks! I can confirm that that patch resolves the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twitter links are broken’ is closed to new replies.