Support » Plugin: All 404 Redirect to Homepage » Debug.log: a lot of errors.

  • Hello,

    today I have open my debug.log and I have found a lot of errors messages:

    
    [21-Jun-2019 20:28:10 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp-includes/wp-db.php:1479) in /home/france52/public_html/wp-content/plugins/all-404-redirect-to-homepage/all-404-redirect-to-homepage.php on line 41
    
    [21-Jun-2019 20:28:10 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp-includes/wp-db.php:1479) in /home/france52/public_html/wp-content/plugins/all-404-redirect-to-homepage/all-404-redirect-to-homepage.php on line 40
    
    [26-Jun-2019 22:06:13 UTC] PHP Notice:  Undefined variable: class_name in /home/xxx/public_html/wp-content/plugins/all-404-redirect-to-homepage/functions.php on line 32
    
    [26-Jun-2019 22:06:13 UTC] PHP Notice:  Undefined variable: class_name in /home/xxx/public_html/wp-content/plugins/all-404-redirect-to-homepage/functions.php on line 44

    Can you explain me why and what can we do to solve these problems?

    Thank you
    ——————–

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello???

    Where is the support?

    Plugin Author Fakhri Alsadi

    (@fakhris)

    hello,
    sorry for being late,
    Functions that send/modify HTTP headers must be invoked before any output is made, so i’m sure your theme return white spaces or printing some text in the first line of your index page,

    i suggest to change the theme (for testing) and try

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.