• Resolved pulpcovers

    (@pulpcovers)


    After updating the plugin today, when I go to /wp-admin/tools.php?page=redirection.php I get the following error:

    Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/wp_6t4fm5/pulpcovers.com/wp-content/plugins/redirection/models/pager.php on line 116

    https://www.ads-software.com/plugins/redirection/

Viewing 15 replies - 16 through 30 (of 31 total)
  • bcr8tive

    (@bcr8tive)

    Elcolo13,

    Previous versions are always listed on the main page, under “developers”

    I’m still running 2.3.6 without issues.

    dndv

    (@dndv)

    Problem caused by PHP version. Just update PHP version on server and it works properly.

    ElColo13

    (@elcolo13)

    @happyhelper, @ bcr8tive, Good to know! Thank you very much!

    @john Godley, Thanks for the quick fix!

    Ziveo

    (@ziveo)

    I have same error message.
    For me is difficult to change PHP version because I am running a website on shared hosting (cPanel).

    Please advise,
    Thanks.

    mbang

    (@mikebang)

    Please help, I am also getting a blank page even after upgrading to 2.3.10
    at /wp-admin/tools.php?page=redirection.php and redirects are not working. I have lots of redirections so this is a big issue for our business.

    PHP Version 5.3.10-1ubuntu3.15

    Looked in my apache logs and found this

    mod_fcgid: stderr: PHP Fatal error: Call to undefined function add_action() in /public_html/wp-content/plugins/redirection/plugin.php on line 171

    Here is the access log
    “GET /wp-admin/tools.php?page=redirection.php HTTP/1.1” 500 339

    Thanks
    Mike

    mbang

    (@mikebang)

    FWIW, I deleted plugin, downgraded with the link https://downloads.www.ads-software.com/plugin/redirection.2.3.6.zip and installed…all working correct now, must be an issue in 2.3.10

    Zee

    (@laserjobs)

    Strange since plugin.php is the same code that has not changed in 3 years

    https://plugins.trac.www.ads-software.com/browser/redirection/trunk/plugin.php

    CGreen00

    (@cgreen00)

    I updated PHP to 5.3 and still getting the error below:

    Fatal error: Access level to Redirection_Group_Table::extra_tablenav() must be public (as in class WP_List_Table) in /home/content/s/p/r/springbrookorg/html/wp-content/plugins/redirection/models/pager.php on line 368

    bkalish

    (@bkalish)

    Like mikebang I am also getting a blank page when using 2.3.10 but I am finding different errors in the logs. The following error appears in /home3/forbesli/public_html/wordpress/wp-admin/error_log:

    [11-Nov-2014 01:08:26 UTC] PHP Fatal error: Access level to Redirection_Group_Table::extra_tablenav() must be public (as in class WP_List_Table) in /home3/forbesli/public_html/wordpress/wp-content/plugins/redirection-v2.3.10/models/pager.php on line 368

    Downgrading to 2.3.6 does solve this problem.

    Zee

    (@laserjobs)

    Looks similar to this
    https://github.com/johngodley/redirection/commit/f68b6af835212aa0dbe9d0264837c73722f0ed49

    Not sure but maybe pulling “protected” from line 299 in /models/pager.php

    protected function extra_tablenav( $which ) {
    to
    function extra_tablenav( $which ) {

    CGreen00

    (@cgreen00)

    laserjobs – that actually worked by removing the “protected”.

    thanks!

    EHLOVader

    (@ehlovader)

    I can confirm that this is still a problem with PHP 5.3 and Redirection 2.3.10. I see the commit mentioned by laserjobs in the github repo, but the latest version there is 2.3.8.

    The plugin site says latest version is 2.3.3 and WordPress installs version 2.3.10

    When I applied the change from github everything works as expected.

    essaysnark

    (@essaysnark)

    All of these issues are being posted on a thread that’s marked ‘resolved’; it’s likely the developer is not even seeing them. If you have a problem with version 2.3.10 I suggest you open a new thread about it.

    Zee

    (@laserjobs)

    The developer is aware of the issue since it has been fixed in the latest file version on Github
    https://github.com/johngodley/redirection/blob/master/models/pager.php

    It was addressed here
    https://github.com/johngodley/redirection/commit/4597a6d2488d694c0d5f6dcb941161fd7ae2e039

    manzoor47

    (@manzoor47)

    Today, I updated to the latest version. Now i get a blank screen when i visit ../wp-admin/tools.php?page=redirection.php. For now, I revert it back. No harm done :).

    Edit: @laserjobs – thanks! I will try that next time.

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘2.3.8 broke the plugin (but not the whole site)’ is closed to new replies.