PHP Fatal error: Cannot redeclare class views_parity_row_base in /var/www/vhosts/vationip/sites/all/modules/contrib/views_parity_row/views/views_parity_row_base.inc on line 3

Looks like views_parity_row_base.inc is being included numerous times.

Comments

michaelablackham created an issue. See original summary.

michaelablackham’s picture

I was using this within a Drupal 7 site of mine and thought it was a great idea for what I was looking to do, but I kept coming up with this fatal error. It looks like this is being called in the .info file, and then again in both the views_parity_row_views_plugin_row_entity_view.inc and views_parity_row_views_plugin_row_node_view.inc. Ideally this should only be placed within one area, and since the .info file calls it, we should be good with it just there.

Attached is the patch that I found worked well for me.

  • Pol committed 3ce36df on 7.x-1.x authored by michaelablackham
    Issue #3006365 by michaelablackham: PHP Fatal Error: Cannot redeclare...
pol’s picture

Status: Active » Fixed

Thanks, fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.