I keep seeing the following two PHP errors in my log entries, anyone know how to fix them?

Log entry #1

Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /sites/all/modules/views/plugins/views_plugin_style_default.inc on line 24.

Log entry #2

Creating default object from empty value in /modules/taxonomy/taxonomy.pages.inc on line 33.

Software versions
Drupal: 6.35
PHP: 5.4.39-0+deb7u2
Debian: 7.8

Comments

VM’s picture

Looks like an issue with using PHP 5.4 and earlier versions of D6 views 2/3.
exact version of views in use?

Rewted’s picture

The suggested Current Version: Views 6.x-2.18

VM’s picture

can google for 'Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in' and read the already existing discussions. You can test 2.x-dev but ultimately, I'd work toward upgrading views to 3.x

Rewted’s picture

Going to hold off on Views 3, will be migrating to Drupal 8 once released.

I've put the temp fix in place: if ($errno == E_STRICT) { return; }

Thanks.