• Resolved ann71727

    (@ann71727)


    I got http 500 error:
    Parse error: syntax error, unexpected ‘}’, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) in …/plugins/rocket-lazy-load/admin/admin.php on line 110

    I fix the issue

    PHP.ini short_open_tag=on;

    or

    modify …/plugins/rocket-lazy-load/admin/admin.php
    do not use PHP short open tag.

    <?php if ( ! is_plugin_active( ‘imagify/imagify.php’ ) ) : ?>

    img/imagify@2x.jpg” alt=”Imagify” width=”393″ height=”180″>

    <?PHP endif; ?> <<<<—–

    Some host php.ini default does not open the short_open_tag,
    Recommend future versions, try to avoid the use of php short tag

    Sorry my English not good!

    It’s a good plugin
    Thank you
    Ann

Viewing 2 replies - 1 through 2 (of 2 total)
  • Me too, on my localhost I got the 500 error after updating this plugin to 1.1

    12 feb. 2017
    New
    JS library updated
    Support for iFrame
    Support for srcset and sizes
    New options page

    Plugin Author WP Media

    (@wp_media)

    Hi,

    Thank you for reporting this. We pushed a 1.1.1 version to fix your issue

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I got a 500 error , Should be “PHP short open tag” problems’ is closed to new replies.