Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Joel James

    (@joelcj91)

    Hi geea,

    Currently, when you delete an error log, related custom redirect will also be deleted and it will be redirected to the default redirect page. I am working on a feature to keep custom redirects after deleting error logs.

    Please note: Automatic log clearing is not part of the base 404 to 301 plugin. It is available in Error Log Manager add-on. That documentation is for the add-on.

    Thread Starter geea

    (@geea)

    Hey Joel!

    Thank you for the clarifications. I look forward to the option of keeping the redirects after deleting the logs, otherwise the custom redirects will quickly become unusable. Even something semi-manual will do, like exporting and pasting them into .htaccess or functions.php

    Plugin Author Joel James

    (@joelcj91)

    Sure! Will update you once it is available.

    Plugin Author Joel James

    (@joelcj91)

    Hi @geea

    I have a new version ready to be published. Can you help me to test it? Please find the new version here.

    Thread Starter geea

    (@geea)

    Hey Joel,

    Thanks for the update. I activated the new version but got these errors and a failed install.

    Warning: include_once(/wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-reviews.php): failed to open stream: No such file or directory in /wp-content/plugins/404-to-301-master/includes/class-jj-404-to-301.php on line 104
    
    Warning: include_once(): Failed opening '/wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-reviews.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /wp-content/plugins/404-to-301-master/includes/class-jj-404-to-301.php on line 104
    
    Fatal error: Can't use function return value in write context in /wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-log-listing.php on line 621
    Plugin Author Joel James

    (@joelcj91)

    Sorry. I missed to merge the master branch. Please download the latest branch now and try.

    Thread Starter geea

    (@geea)

    The warnings are gone but the fatal error remains.

    Plugin Author Joel James

    (@joelcj91)

    Is 404 to 301 plugin active already? (Old one)

    Thread Starter geea

    (@geea)

    No, I deactivated the old one before activating the new one.

    Plugin Author Joel James

    (@joelcj91)

    Which version of PHP you are on?

    Thread Starter geea

    (@geea)

    5.4.45

    Plugin Author Joel James

    (@joelcj91)

    That is where the issue is. WordPress recommend PHP version 5.6 or above.

    Anyway, not worries. I have fixed this Fatal issue. Please download the latest update from GitHub now and try.

    • This reply was modified 8 years ago by Joel James.
    Thread Starter geea

    (@geea)

    Unfortunately that’s the client’s site and hosting and can’t change anything about it.

    There’s another error now
    Parse error: syntax error, unexpected '=', expecting ')' in /wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-log-listing.php on line 893

    Plugin Author Joel James

    (@joelcj91)

    Oops! Give me 45 mins. Don’t have access to my machine right now.

    Plugin Author Joel James

    (@joelcj91)

    Done. These are working with PHP 5.6 or above.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Clear logs without deleting the custom redirects’ is closed to new replies.