Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Fixing WordPress
    In reply to: fatal error
    Thread Starter dryanwp

    (@dryanwp)

    here are lines 320-329 from /usr/home/csforum/public_html/cri/nacr/wordpress/wp-includes/class-wp-hook.php

    // Avoid the array_slice() if possible.
                if ( 0 === $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );

    Thanks!

    After activation I get:

    Warning: Cannot modify header information – headers already sent by (output started at /xxxxxxx/wordpress/wp-content/plugins/cat-pass/cat-pass.php:1) in /xxxxxxxx/wordpress/wp-content/plugins/cat-pass/cat-pass.php on line 17

    Using:

    PHP Version: 5.2.17
    WordPress Version: 3.5
    Theme Version: Catalyst 1.5.3
    Child Theme Version: Dynamik 1.1

    Thread Starter dryanwp

    (@dryanwp)

    My mistake. In pb_embedFlash-widets you find an array whose elements look like this:

    s:5:”title”;

    The “5” refers to the number of characters in “title”. If you change “title” to “my_title” you must also change 5 to 8 or the plugin breaks.

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