WPIntell

Source evidence

Failed opening plugins/wp-db-driver/inc/inc/error-handler.php

WP DB Driver · support · 2015-07-25T21:06:00+00:00

mixedsentiment
highseverity
0.88relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 31 rows with source links

12.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Ionel Roiban resolved
Your include statements from line 4 and 5 in plugins/wp-db-driver/inc/db-driver.php are wrong: require( dirname( __FILE__ ) . '/inc/error-handler.php' ); require( dirname( __FILE__ ) . '/inc/interface-wp-db-driver.php' ); There’s no other inc directory in inc. Result is a fatal error: Warning: require(/var/www/wordpress/wp-content/plugins/wp-db-driver/inc/inc/error-handler.php): failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/wp-db-driver/inc/db-driver.php on line 5 Fatal error: require(): Failed opening required '/var/www/wordpress/wp-content/plugins/wp-db-driver/inc/inc/error-handler.php' (include_path='.:/usr/local/lib/php') in /var/www/wordpress/wp-content/plugins/wp-db-driver/inc/db-driver.php on line 5 https://wordpress.org/plugins/wp-db-driver/ Oops. I wanted to keep the history and forgot to update that file. Released new update. Thanks for notifying me. Same goes for line 577 in wp-db-driver/inc/db-driver.php Need to replace this: require_once( dirname( __FILE__ ) . '/drivers/' . $driver . '.php' ); with this: require_once( dirname( __FILE__ ) . '/../drivers/' . $driver . '.php' ); That whole file was outdated and has been updated now. That was quick! Can you please point us to the github repo. Thank you. That would be https://github.com/markoheijnen/wp-db-driver/ . Thanks, Marko! And thanks for this plugin. You should have 1 million + downloads per month if people knew how important is to make use of the PDO driver instead of what WordPress is using by default.

Comments

6 shown
Marko Heijnen 2015-07-25T21:10:00+00:00

Oops. I wanted to keep the history and forgot to update that file. Released new update. Thanks for notifying me.

Ionel Roiban 2015-07-25T21:14:00+00:00

Same goes for line 577 in wp-db-driver/inc/db-driver.php Need to replace this: require_once( dirname( __FILE__ ) . '/drivers/' . $driver . '.php' ); with this: require_once( dirname( __FILE__ ) . '/../drivers/' . $driver . '.php' );

Marko Heijnen 2015-07-25T21:15:00+00:00

That whole file was outdated and has been updated now.

Ionel Roiban 2015-07-25T21:19:00+00:00

That was quick! Can you please point us to the github repo. Thank you.

Marko Heijnen 2015-07-25T21:26:00+00:00

That would be https://github.com/markoheijnen/wp-db-driver/ .

Ionel Roiban 2015-07-25T21:36:00+00:00

Thanks, Marko! And thanks for this plugin. You should have 1 million + downloads per month if people knew how important is to make use of the PDO driver instead of what WordPress is using by default.