Poppy´s videos
[resolved] 1.1.13 breaks with parse error: syntax error unexpected T_STRING in line 274 (5 posts)

  1. NerdimusPrime
    Posted 3 years ago #

    The full error, as seen on my site:

    Parse error: syntax error, unexpected T_STRING in /homepages/29/d314539915/htdocs/wp-content/plugins/poppy-videos/poppy-videos.php on line 274

    I took a look at the line in question and couldn't find any obvious (to me) syntax errors, but I don't know how the Stagevu function is supposed to look.

    $htmlcode ='<center><iframe style='overflow: hidden; border: 0; width: 480px; height: 326px' src='http://stagevu.com/embed?width=480&height=270&background=000&uid='.$matches[2][$m].'' scrolling='no'></iframe></center><br />';


  2. NerdimusPrime
    Posted 3 years ago #

    Found the problem using a backup of a previous version. There are single quotes in the line where there should be double quotes. Here is the corrected code:

    $htmlcode ='<center><iframe style="overflow: hidden; border: 0; width: 480px; height: 326px" src="http://stagevu.com/embed?width=480&height=270&background=000&uid='.$matches[2][$m].'" scrolling="no"></iframe></center><br />';

  3. songiuno
    Posted 3 years ago #

    has the plugin been corected for proper upgrade application when run?

  4. NerdimusPrime
    Posted 3 years ago #

    No. I had to fix it manually.

  5. Angeles Portillo
    Posted 3 years ago #

    Thankyou NerdimusPrime!
    The parse error has been reported to the author

    For Spanish users:
    El error que da el plugin al actualizar se debe a las comillas simples en el bloque que indican arriban y se soluciona inmediatamente al cambiarlo por el bloque que indica NerdimusPrime en http://wordpress.org/support/topic/1113-breaks-with-parse-error-syntax-error-unexpected-t_string-in-line-274?replies=4#post-3356151

    El autor ya ha sido avisado.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Poppy´s videos
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic