Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Fountain Mountain

    (@fountain-mountain)

    This now resolved. I had added some additional php to the functions.php, and enclosed it within its own php <brackets>. Once I amended all the php in that file into one piece of php code, it was fine!

    Thanks bryan.MCS, WPyogi, Jan and Mika for the help!

    Thread Starter Fountain Mountain

    (@fountain-mountain)

    That correct, that is the theme, but were not using the latest version. I think they are even on v2 and ours is v1, so we are probably a year out of date. Ive left a message on their forum, with the info I put above, including the debug results. Im awaiting a reply, they are usually pretty good, so hopefully soon!

    We didn’t use a child theme, so its almost impossible to update it. There was a lot of messing with the code too.

    RE:p/permalinks

    I dont understand what you are saying tbh. Why would I not see it, if Im using pretty permalinks? And what permalinks do you mean? Im totally lost!

    Again, Im not sure if this is relevant, but there are absolutely no ‘more »’ or ‘read more »’ permalinked anywhere in our template. We only link the titles of posts and post images within archive.php, and the same on the homepage

    Thread Starter Fountain Mountain

    (@fountain-mountain)

    Fair play, thats a great spirit to have!

    I noticed that line 109 thingy… This is it here:

    if (strlen($_GET['p']) > 0) {

    the complete section of code it is contained within is this:

    # Limit Post
    function the_content_limit($max_char, $more_link_text = '', $stripteaser = 0, $more_file = '') {
        $content = get_the_content($more_link_text, $stripteaser, $more_file);
        $content = apply_filters('the_content', $content);
        $content = str_replace(']]>', ']]>', $content);
        $content = strip_tags($content);
    
       if (strlen($_GET['p']) > 0) {
          echo "";
          echo $content;
          echo " <a href='";
          the_permalink();
          echo "'>"."More »</a>";
          echo "";
       }
       else if ((strlen($content)>$max_char) && ($espacio = strpos($content, " ", $max_char ))) {
            $content = substr($content, 0, $espacio);
            $content = $content;
            echo "";
            echo $content;
            echo "...";
            echo " <a href='";
            the_permalink();
            echo "'>"."</a>";
            echo "";
       }
       else {
          echo "";
          echo $content;
          echo " <a href='";
          the_permalink();
          echo "'>"."Read More »</a>";
          echo "";
       }
    }

    is it saying i should take the ‘p’ out?

    p.s. Im not sure if this is relevant, or if that function even refers to this, but but we do not limit posts character amounts, or split posts over multiple pages.

    Thread Starter Fountain Mountain

    (@fountain-mountain)

    Thanks again WPyogi, Ive tied that debugging, but I dont understand the code….

    [13-Dec-2013 01:53:21] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/audio-player/audio-player.php on line 903
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: HTTPS in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/audio-player/audio-player.php on line 127
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: SERVER_PORT_SECURE in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/audio-player/audio-player.php on line 127
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: page in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/optimize-db/optimize-db.php on line 76
    [13-Dec-2013 01:53:21] PHP Deprecated:  Function eregi() is deprecated in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/optimize-db/optimize-db.php on line 76
    [13-Dec-2013 01:53:21] PHP Notice:  class-snoopy.php is <strong>deprecated</strong> since version 3.0! Use wp-includes/http.php instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 2955
    [13-Dec-2013 01:53:21] PHP Notice:  get_current_theme is <strong>deprecated</strong> since version 3.4! Use wp_get_theme() instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 2908
    [13-Dec-2013 01:53:21] PHP Notice:  add_custom_background is <strong>deprecated</strong> since version 3.4! Use add_theme_support( 'custom-background', $args ) instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 2908
    [13-Dec-2013 01:53:21] PHP Notice:  get_bloginfo was called with an argument that is <strong>deprecated</strong> since version 2.2! The <code>home</code> option is deprecated for the family of <code>bloginfo()</code> functions. Use the <code>url</code> option instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 3006
    [13-Dec-2013 01:53:21] PHP Notice:  get_bloginfo was called with an argument that is <strong>deprecated</strong> since version 2.2! The <code>siteurl</code> option is deprecated for the family of <code>bloginfo()</code> functions. Use the <code>url</code> option instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 3006
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:21] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  Undefined index: p in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/themes/newswire/functions.php on line 109
    [13-Dec-2013 01:53:22] PHP Notice:  get_bloginfo was called with an argument that is <strong>deprecated</strong> since version 2.2! The <code>home</code> option is deprecated for the family of <code>bloginfo()</code> functions. Use the <code>url</code> option instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 3006
    [13-Dec-2013 01:53:24] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/audio-player/audio-player.php on line 903
    [13-Dec-2013 01:53:24] PHP Notice:  Undefined index: HTTPS in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/audio-player/audio-player.php on line 127
    [13-Dec-2013 01:53:24] PHP Notice:  Undefined index: SERVER_PORT_SECURE in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/audio-player/audio-player.php on line 127
    [13-Dec-2013 01:53:24] PHP Notice:  Undefined index: page in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/optimize-db/optimize-db.php on line 76
    [13-Dec-2013 01:53:24] PHP Deprecated:  Function eregi() is deprecated in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-content/plugins/optimize-db/optimize-db.php on line 76
    [13-Dec-2013 01:53:24] PHP Notice:  class-snoopy.php is <strong>deprecated</strong> since version 3.0! Use wp-includes/http.php instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 2955
    [13-Dec-2013 01:53:24] PHP Notice:  get_current_theme is <strong>deprecated</strong> since version 3.4! Use wp_get_theme() instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 2908
    [13-Dec-2013 01:53:24] PHP Notice:  add_custom_background is <strong>deprecated</strong> since version 3.4! Use add_theme_support( 'custom-background', $args ) instead. in /usr/local/pem/vhosts/127692/webspace/httpdocs/wp-includes/functions.php on line 2908

    seems like a lot of errors there?

    Hi Jan, we’re using the newswire theme, but I have cutomised it a lot, and played with code quite a bit during the process. I’ll send them a message and see of that helps! great idea!

    I hear you on the backup, I am sooo glad we done that today! It was because of the other issues (problems caused by adding post counts via meta) that we done it, otherwise, we would not have been so fortunate. phew 🙂

    Good to hear Mika! And how you do it it definitly has its plus points, but Im still 50/50 about it, although, you would know better than me as you actually are active within the system. I am slowly coming around from my initial thinking 🙂

    Thread Starter Fountain Mountain

    (@fountain-mountain)

    I would delete my post inside that other thread, but I cant find any delete function. Feel free to delete it if you are able to. I understand what you are saying! If thats how you do it, then so be it. Even if it is completely counter-intuitive (towards spotting trends, and creating dialogue).

    Regarding my problem, which appears to be similar to the others, you got it spot on!

    I renamed the plugin folder, no change, but when I switched to the 2014 theme, it was fixed. So, its my theme. Aw shoooot. Ive messed with the code on that so much that i wouldn’t know where to even begin.

    Is there any advice you have on this? I think I should just revert to 3.7. I did back it up earlier today.

    Thanks for the help WPyogi.

    Thread Starter Fountain Mountain

    (@fountain-mountain)

    ok, so its not just me!

    there is also this post just added too:
    http://wordpress.org/support/topic/38-after-update-wp-admin-gives-a-404-error-on-most-brosers?replies=1

    I think this could be the same issue as mine. I updated the core in Firefox, and thats the browser that actually (semi) works for me! The others don’t, just like the user in that other post I linked.

    PLUGINS: I have turned them all off, and that did not fix the issue!

    WEBSITE: http://www.frg.ie

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