WPIntell

Source evidence

Activation issue with WP 4.2.2

CMB2 Taxonomy · support · 2015-05-07T15:15:00+00:00

neutralsentiment
highseverity
0.63relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

4 / 34 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

30 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
gabstero resolved
Just installed CMB2 Taxonomy on a fresh install of WP 4.2.2 “Powell” but on activation I am getting these errors: Warning: require_once(__DIR__/init.php) [function.require-once]: failed to open stream: No such file or directory in /home2/gabster/public_html/gabster/wp-content/plugins/cmb2-taxonomy/plugin.php on line 33 Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/init.php’ (include_path=’.:/usr/lib64/php:/usr/share/pear’) in /home2/gabster/public_html/gabster/wp-content/plugins/cmb2-taxonomy/plugin.php on line 33 Any idea what can go wrong? thanks https://wordpress.org/plugins/cmb2-taxonomy/ It seems that the such problem relates to the fact __DIR__ is working only since php 5.3 I solved such situation by replacing __DIR__ with dirname(__FILE__) Unfortunately Many WP websites are still running on PHP 5 versions that are lower then 5.3… Thanks a lot!! Yes – that fixed it. Thanks!! g Hi @all , Thanks for your feedback. I have fixed by following the proposal from @gabstero in the plugin.php file and some other locations. The new version is ready to be downloaded at https://wordpress.org/plugins/cmb2-taxonomy/ . Thanks much, Jose!!

Comments

4 shown
israelshmueli 2015-05-08T10:40:00+00:00

It seems that the such problem relates to the fact __DIR__ is working only since php 5.3 I solved such situation by replacing __DIR__ with dirname(__FILE__) Unfortunately Many WP websites are still running on PHP 5 versions that are lower then 5.3…

gabstero 2015-05-08T15:12:00+00:00

Thanks a lot!! Yes – that fixed it. Thanks!! g

jcchavezs 2015-05-15T08:12:00+00:00

Hi @all , Thanks for your feedback. I have fixed by following the proposal from @gabstero in the plugin.php file and some other locations. The new version is ready to be downloaded at https://wordpress.org/plugins/cmb2-taxonomy/ .

gabstero 2015-05-15T16:06:00+00:00

Thanks much, Jose!!