Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter davecunnington

    (@davecunnington)

    Sorry Jeff, I gave bad information for the fix. After checking the docs I see that “passing?null?does?not?assign the default value” so the fix should be in the method instead of adding the default value to the method parametres.

    If you can’t use the null coalesce for backwards compatibility then the method will need something like:

    if (!$string) {
    $string = "";
    }

    Thread Starter davecunnington

    (@davecunnington)

    Thanks again for providing this plugin to the community!

    Can confirm the same on my site, 500 error on page load. Had to rollback the plugin to version 5.1 to resolve (update in 5.1.1 breaks site).

    Each page load throws:

    PHP Fatal error: Cannot declare class WordPress_Module, because the name is already in use in /var/www/RCGS/shared/wp-content/plugins/redirection/modules/wordpress.php on line 0

    Edit: Rolling back the plugin and updating to version 5.1.1 works. Seems like it was a migration issue.

Viewing 3 replies - 1 through 3 (of 3 total)