• Closed
  • Mark Leder
    Spectator
    August 8, 2018 at 12:04 pm #36912

    Presently using Free version of Evolve v394 (purchased premium theme but have not installed)

    Constant log errors, as follows:

    2018/08/08 05:37:57 [error] 4380#4380: *13082 FastCGI sent in stderr: “PHP message: PHP Notice: register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead. in /var/www/html/_rosalind-sedacca/childcentereddivorce.com/wwwroot/wp-includes/functions.php on line 3853

    PHP message: PHP Notice: register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead. in /var/www/html/_rosalind-sedacca/childcentereddivorce.com/wwwroot/wp-includes/functions.php on line 3853″ while reading response header from upstream, client: 172.68.58.33, server: childcentereddivorce.com, request: “GET /?wordfence_lh=1&hid=1FB3AEF678602C64CE09F787AF0861BD&r=0.45519681543191104 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “www.childcentereddivorce.com”

    I’ve rebuilt the child theme to eliminate the possibility of problems there. Cloudflare is turned off, nginx cache has been cleared repeatedly.

    Been going on for quite some time, using latest WP 4.9.8
    Centos 7.2, Nginx latest stable build. Lightly loaded fast server.

    Mark Leder
    Spectator
    Posts: 7
    August 15, 2018 at 4:07 am #36940
    This reply has been marked as private.
    Roman
    Spectator
    Posts: 3147
    August 15, 2018 at 5:20 am #36941

    Ooh, you are using many plugins so it can definitelly produce one or more of them the error logs. Recommended max number is 20, but you are using 30 and 17 are inactive. But of course, WP can handle a lot of plugins, if they are coded properly. I would need access to the error logs file to investigate further. Also access to those plugins would help me to determine, which plugin uses the old function call. But checking one by one is time consuming 🙁

    Mark Leder
    Spectator
    Posts: 7
    August 15, 2018 at 2:42 pm #36942

    I can’t ask you to do that, since it appears the problem is not part of evolve. I’m going to do it this way: download all the plugins to my dev machine, and do a regex crawl to find the offending plugin. I’ll let you know the results. Thanks for your help!

    Roman
    Spectator
    Posts: 3147
    August 15, 2018 at 4:04 pm #36943

    that would be best way. Install a fresh WP and only theme and check for sure what causes the issue 😉 . Wondering for the result 🙂

    Mark Leder
    Spectator
    Posts: 7
    August 15, 2018 at 6:51 pm #36945

    I found the problem, one plugin that had bad code; I have since removed it, and no errors.

    For the benefit of others, here’s an easy way to figure out where the wrong code is:
    1) To your local dev machine, download the entire wp-content folder and all subdirectories.
    2) I use windows, installed and ran Find and Replace.
    3) Do an exact match find on ‘register_sidebar_widget’ from the wp-content dir. Include subdirectories. Exclude .log files.
    4) Within a minute, crawled nearly 11,000 files and found three matches, all in one plugin.
    5) Disabled the plugin on the live site. Clear the error log files and cached files. Browsed the site normally.
    6) No more errors!

    Thanks for your help.

    Roman
    Spectator
    Posts: 3147
    August 16, 2018 at 4:20 am #36946

    glad to hear it’s solved 😉