Forum Replies Created

Viewing 5 replies - 31 through 35 (of 35 total)
  • Thread Starter greenreflection

    (@greenreflection)

    Got rid of several plugins which removed many lines of debugging errors.

    Now I’m down to 2: Here is the first error listing the plugin file. Following that is code from the plugin that I “think” is the right section of the file:

    Debug reported:
    [25-Feb-2014 17:06:30] PHP Notice: Undefined index: HTTP_ACCEPT in /var/www/vhosts/ShopSOS.com/httpdocs/wp-content/plugins/wpmbytplayer/mbYTPlayer.php on line 21

    From the plugin php file:


    function isMobile()
    {
    // Check the server headers to see if they’re mobile friendly
    if (isset($_SERVER[“HTTP_X_WAP_PROFILE”])) {
    return true;
    }
    // If the http_accept header supports wap then it’s a mobile too
    if (preg_match(“/wap.|.wap/i”, $_SERVER[“HTTP_ACCEPT”])) {
    return true;
    }
    if (preg_match(“/iphone|ipad/i”, $_SERVER[“HTTP_USER_AGENT”])) {
    return true;
    }
    // None of the above? Then it’s probably not a mobile device.
    return false;
    }

    I ran it through a validator, but I’m not sure what needs to be fixed.

    Thread Starter greenreflection

    (@greenreflection)

    Thanks. That helps me to understand the message re: functions.php. I’m going to continue on the path of removing plugins. I will also double back on the theme (Pagelines Pro) to be sure that the most recent version is installed and if there are still issues then switch themes. I so appreciate the time people take to help in these situations. Not fixed yet, but these suggestions offer hope!

    Thread Starter greenreflection

    (@greenreflection)

    Not familiar, but reading the Codex pointed me to enabling Debug in the config file, which I have done. I’m reading the debug log this morning.

    Yes, I disabled all of the plugins (more than once) and at least one problem was identified as being caused by a particular plugin.

    I have not tried switching themes because this is one of those cases where this is the theme that the client desires. That will be a last resort, but thanks so much for the reminder that a theme update could create conflicts as well.

    The Debug log is pointing to two plugins that are throwing most of the error messages. But then there is reporting regarding functions.php in the wp-includes folder. Not sure what that is about.

    Here are the strings about function.php:
    [25-Feb-2014 03:45:56] PHP Notice: is_home was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /var/www/vhosts/ShopSOS.com/httpdocs/wp-includes/functions.php on line 3049
    [25-Feb-2014 03:45:56] PHP Notice: is_front_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /var/www/vhosts/ShopSOS.com/httpdocs/wp-includes/functions.php on line 3049
    [25-Feb-2014 03:45:56] PHP Notice: is_feed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /var/www/vhosts/ShopSOS.com/httpdocs/wp-includes/functions.php on line 3049

    Helping to understand what these particular returns from debug would be most helpful at this point. Thanks.

    I have the same problem. Warnings of malware in my Weaver ii installs.

    Also visiting Weavertheme.com has Google warnings regarding malware. Please, fix the problem.

    I also have a site where I am running pro, and because Weavertheme.com has been listed by Google as a potential malware site, my scan also flagged that installation as being a problem. When I re-uploaded my pro files the problem seemed to go away, but it may have something to do with the Weavertheme.com site

    I certainly don’t know, but I use this theme on several websites, so please get your website and the install files clean for us. Thanks.

    We just upgraded to wp 3.5 and the Media loader and the links tool in the post/pages editing window stopped working. I disabled all plugins and reactivated them one at a time. Whenever I activate tagaroo the Media loader and the links tool both stop working. We love using tagaroo, is there an update coming to fix the problems with the interface to WP 3.5?

Viewing 5 replies - 31 through 35 (of 35 total)