• Hi there,

    I’ve looked through the other threads but not found anyone else having this problem.

    I followed the instructions for installation but when going to the domain I was seeking to redirect I just got the following error message:

    Warning: Declaration of Roots_Walker_Comment::start_el(&$output, $comment, $depth, $args, $id = 0) should be compatible with Walker_Comment::start_el(&$output, $comment, $depth = 0, $args = Array, $id = 0) in?/homepages/25/d509622576/htdocs/clickandbuilds/WordPress/FreeMode/wp-content/themes/fscnc/lib/comments.php?on line?43

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/25/d509622576/htdocs/clickandbuilds/WordPress/FreeMode/wp-content/themes/fscnc/lib/comments.php:43) in?/homepages/25/d509622576/htdocs/clickandbuilds/WordPress/FreeMode/wp-includes/pluggable.php?on line?1251

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/25/d509622576/htdocs/clickandbuilds/WordPress/FreeMode/wp-content/themes/fscnc/lib/comments.php:43) in?/homepages/25/d509622576/htdocs/clickandbuilds/WordPress/FreeMode/wp-includes/pluggable.php?on line?1254

    I’ve tried switching between the two redirect modes in settings but that doesn’t seem to make a difference.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,
    as you can see in the warning, this is a problem from your theme “fscnc” and has nothing to do with the plugin – i guess you will see the warning also when the plugin is not activated?

    solution:
    1) try to fix the error
    2) disable debug mode https://codex.www.ads-software.com/Debugging_in_WordPress

    matt

    Thread Starter user125

    (@user125)

    Thanks for the quick response.
    This is the first time I’ve had the error and the site continues to work fine on its normal domain. The error only appears when trying to view the additional domain that I’m trying to redirect using the plugin.

    So it seems that the plugin is not compatible with the custom theme we are using. I’m just wondering if you could tell us why that might be. What is it in a custom theme that would stop the plugin working correctly?

    Plugin Author matthias.wagner

    (@matthiaswagner)

    i can not imagine any relation with our plugin and this warning. it is about a wrong function declaration of a comments walker.

    what happens if you visit the mapped page/url with its original url while the plugin is active / not active?
    try to follow the two steps mentioned above first, and then go on with the mapping…

    Thread Starter user125

    (@user125)

    Everything works fine until regardless of whether the plugin is installed and activated or not. The error only appears when I try to access the content using the domain in conjunction with the plugin. I’ll have to go back to doing a frame redirect. It’s a pity because otherwise this plugin was just what I was looking for.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error messages: Declaration of Root_Walker_Comment and others’ is closed to new replies.