• Please bear with me, as I just started using WordPress today and am unfamiliar with its usage and much of the terminology.

    I’m not sure where to look in trying to solve this error message I received while in my admin panel:

    Fatal error: Cannot redeclare portfolio_edit_columns() (previously declared in …/public_html/wordpress/wp-content/plugins/simple-portfolio/extends/columns.php:5) in …/public_html/wordpress/wp-content/themes/portfolio-press/extensions/portfolio-post-type.php on line 78

    I can no longer reach my login page, or access anything beyond it. ManageWP also returns plenty of errors when trying to update remotely.

    Any help you can lend is very appreciated. Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter lognerd

    (@lognerd)

    Here’s the bit it’s referring to:

    function portfolio_edit_columns($portfolio_columns){
    	$portfolio_columns = array(
    		"cb" => "<input type=\"checkbox\" />",
    		"title" => _x('Title', 'column name'),
    		"thumbnail" => __('Thumbnail', 'portfoliopress'),
    		"portfolio-tags" => __('Tags', 'portfoliopress'),
    		"author" => __('Author', 'portfoliopress'),
    		"comments" => __('Comments', 'portfoliopress'),
    		"date" => __('Date', 'portfoliopress'),
    	);
    	$portfolio_columns['comments'] = '<div class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></div>';
    	return $portfolio_columns;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Cannot redeclare portfolio_edit_columns()’ is closed to new replies.