Support » Plugin: Page Title Splitter » Warning Missing argument

  • Resolved ABTOP

    (@abtop)


    Warning Missing argument 2 for pt_splitter_title()
    wp-content/plugins/page-title-splitter/pts.php:353

Viewing 1 replies (of 1 total)
  • I was able to fix this error by adding the code

      if(empty($_output) or empty($_output[0])) {
        return $title;
      }

    below the line

    
    	$_output = str_replace(array('false', 'true', ',', '[', ']'), '', str_replace('],[', '~', get_post_meta( $id, '_pt_splitter_output' )));
    
Viewing 1 replies (of 1 total)
  • The topic ‘Warning Missing argument’ is closed to new replies.