WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Errors on Latest News, Recent Donators & Recent Plugins (1 post)

  1. RobJacko
    Member
    Posted 3 years ago #

    I have been using this plugin for a new project on my site for a while now, I have just come back to work and wondering why I have a very long error, below is just the first couple of lines of about 300

    Please log in again.'), wp_login_url() ); $x = new WP_Ajax_Response( array( 'what' => 'autosave', 'id' => $id, 'data' => $message ) ); $x->send(); } if ( !empty( $_REQUEST['action'] ) ) do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] ); die('-1'); } if ( isset( $_GET['action'] ) ) : switch ( $action = $_GET['action'] ) : case 'ajax-tag-search' : if ( !current_user_can( 'edit_posts' ) ) die('-1'); $s = $_GET['q']; // is this slashed already? if ( isset($_GET['tax']) ) $taxonomy = sanitize_title($_GET['tax']); else die('0'); if ( false !== strpos( $s, ',' ) ) { $s = explode( ',', $s ); $s = $s[count( $s ) - 1]; } $s = trim( $s ); if ( strlen( $s ) < 2 ) die; // require 2 chars for matching $results = $wpdb->get_col( "SELECT t.name FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = '$taxonomy' AND t.name LIKE ('%" . $s . "%')" ); echo join( $results, "\n" ); die; break; case 'wp-compression-test' : if ( !current_user_can( 'manage_options' ) ) die('-1'); if (

    Does anybody know of a fix? I like my site to be clean, I can supply any further details if required (:

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.