Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter John Bradfield

    (@john-bradfield)

    I fixed this by commenting out the syntax error highlighted in the error message above, specifically all three functions under “MIX COLORS”, line 555 to 574 in /wp-content/plugins/yuzo-related-post/assets/ilenframework/assets/lib/utils.php.

    This was *not* my idea, I found it in a previous comment thread on the same problem.

    Got the plugin back now, it’s working fine ??

    Thread Starter John Bradfield

    (@john-bradfield)

    Thanks for the quick reply.

    Unfortunately I’m on shared hosting so don’t have the required access to update the server to PHP 5.3.

    The replacement yuzo_related_post.php was uploaded via FTP but I’m still getting a fatal error:

    Parse error: syntax error, unexpected T_FUNCTION in /var/www/vhosts/johnlbradfield.com/httpdocs/wp-content/plugins/yuzo-related-post/assets/ilenframework/assets/lib/utils.php on line 556.

    I presume this is because the plugin needs the PHP update to work. Is there anything else to try to get this to work? I really like this plugin, it’s the best one out there — believe me, I’ve tried them all ??

    Thread Starter John Bradfield

    (@john-bradfield)

    Hi Evan,

    I went with Robert’s solution, see above, and I put it in a child theme as you suggested. Works great.

    Thanks for your help!

    Thread Starter John Bradfield

    (@john-bradfield)

    Thanks so much for your quick reply Robert, it’s a perfect fix!

    I made a child theme with your code modification in the child-theme style.css. As you can see here, it works just great.

    There’s no way I’d have found that by myself. Thanks again for your help.

    Forum: Fixing WordPress
    In reply to: Embedding a video

    Try putting a value in object “width” and “height”. I just tried that and it worked perfectly.

    Forum: Fixing WordPress
    In reply to: Help :(

    I just had a look at the link — the slider is showing 4 images out of 5. Just the last spot is blank ?

    Thread Starter John Bradfield

    (@john-bradfield)

    Okay, this is weird. It’s fixed! For those of you who followed the links posted above, I have been unable to re-create the problem so unfortunately I can’t vouch for the solution.

    My latest post has an embedded video. I simply changed the code from this:

    <iframe width="300" height="169" class="alignright" src="https://www.youtube.com/embed/S2oymHHyV1M" frameborder="0" ></iframe>

    to this:

    <iframe class="alignright" width="300" height="169" src="https://www.youtube.com/embed/S2oymHHyV1M" frameborder="0" allowfullscreen></iframe>

    and then updated the post.

    Well, everything including the three missing posts came back and displayed correctly on the Home page. Unfortunately, I couldn’t re-create the problem, by substituting the original code, so I’m not sure what happened.

Viewing 7 replies - 1 through 7 (of 7 total)