• Resolved Gibum

    (@bumstah)


    Whenever I try to access the Categories or Tags tab under Products on the WP dashboard, I get this error message:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home4/benkang/public_html/gibumkang.com/revive/wp-admin/includes/class-wp-terms-list-table.php on line 156

    So I checked into my class-wp-terms-list-table.php but I can’t seem to find what’s wrong with it. I never touched it either. Here is a snippet of the code. Line 156 is ‘$out .= $this->row_actions( $actions );’.

    if ( empty( $terms ) ) {
    			list( $columns, $hidden ) = $this->get_column_info();
    			echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">';
    			$this->no_items(ions', $actions, $tag );
    		$actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
    
    		$out .= $this->row_actions( $actions );
    		$out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
    		$out .= '<div class="name">' . $qe_data->name . '</div>';
    		$out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
    		$out .= '<div class="parent">' . $qe_data->parent . '</div></div>';

    Would anyone know a solution?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Gibum

    (@bumstah)

    I should also mention I encountered a similar issue when I first pushed WP locally to live. It was happening to a different .php file, but I reuploaded that file to the FTP and thankfully that worked. However, reuploading the class-wp-terms-list-table.php file didn’t solve this issue.

    Thread Starter Gibum

    (@bumstah)

    I figured it out, sort of. I decided to download a fresh version of the latest wordpress and pulled the class-wp-terms-list-table.php. I saved my existing file and replaced it with the new fresh one. The Categories and Tab page seems to be working now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse Error when trying to access Products -> Categories’ is closed to new replies.