• Resolved boyington

    (@bottapress)


    Hi there,

    I use the plugin 10.16 version

    When I go to the page ‘readygraph app’ on admin dashboard, I get a PHP parse error:

    PHP Parse error: syntax error, unexpected end of file in /wp-content/plugins/subscribe2/extension/readygraph/admin.php on line 673

    ?

    https://wordpress.org/plugins/subscribe2/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there,

    line 673 is an end of file. You can try reinstalling the plugin. It seems that the plugin is not installed correctly.

    Thread Starter boyington

    (@bottapress)

    I just reinstalled the plugin but the error is still the same.

    I wonder if something what could break the code and produce the parse error !?

    That error is because of missing closing brackets and must be with some other plugin. It usually happens that the error is denoted at last plugin that is activated. keep deactivating in reverse way till you find an error

    Thread Starter boyington

    (@bottapress)

    In this case, I don’t understand why it just happens on this particular page /wp-admin/admin.php?page=readygraph-app and not on the others ?

    you can try disabling subscribe2 and then test, it will show you this error in some other pages.

    You can check “active_plugins” option in wp_options table. the plugins are loaded in the said order. Thus the error belongs to any previous loading plugin

    Thread Starter boyington

    (@bottapress)

    First I want to thank you for your quick replies !

    But my case seems to be a bit more tricky.

    I’m running a wordpress network with several thousands of active blogs on it.

    In the test blog where the error occurs, subscribe2 is the only active plugin.

    But there are still some network activated plugins that, in your supposition, could explain the error.

    So I made a grep of ‘PHP Parse error’ on my php error logs and I see the only error found of this type is always the same and only one : unexpected end of file in /wp-content/plugins/subscribe2/extension/readygraph/admin.php on line 673

    If one of my network plugins was provoking the error, I should a lot of other files provoking the same parse error, should’nt I ?

    Thanks again for helping me finding the explanation of this problem.

    @boyington / Tanay,

    Line 202 of this file contains a short opening PHP tag. This may be disallowed on some servers resulting in parse errors:

    Find line 202, it looks like this:
    <? } ?>

    And try replacing it with:
    <?php } ?>

    Thread Starter boyington

    (@bottapress)

    yeeeah mattyrob, you got it!

    thanks for all (and thanks to Tanay please to fix it in next update)

    Thread Starter boyington

    (@bottapress)

    marked as solved

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP Parse error on /extension/readygraph/admin.php on line 673’ is closed to new replies.