Hi Andrew,
What error was it exactly? Which WordPress version do you have and what other plugins it runs?
@Chop-Chop.org , thank you for the great plugin, but i have one question , i wana insert a html code not a mail champ ?? visit : http://www.distrimoon.com
Thread Starter
Andrew
(@cipes)
Hi ChopChop.org, I pasted in the exact error. That notice is displayed in the wordpress admin plugin page when you try to activate the plugin. I’m running the latest and greatest version of WordPress, but I tried originally with 4.3.1 and it had the same error, so I updated WP just to see if that would take care of it, which it didn’t.
Thread Starter
Andrew
(@cipes)
Trying again I get a full error if I scroll down in the error window WP displays..
Plugin could not be activated because it triggered a fatal error.
Notice: Use of undefined constant __DIR__ – assumed ‘__DIR__’ in /home5/itsallyo/public_html/wp-content/plugins/popup-scroll/vendor/autoload.php on line 5
Warning: require_once(__DIR__/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /home5/itsallyo/public_html/wp-content/plugins/popup-scroll/vendor/autoload.php on line 5
Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/composer/autoload_real.php’ (include_path=’.:/usr/lib64/php:/usr/share/pear’) in /home5/itsallyo/public_html/wp-content/plugins/popup-scroll/vendor/autoload.php on line 5
All other plugins were deactivated.
And which PHP version do you use? Most probably you should upgrade to (at least) PHP 5.3.
I have the same problem
Plugin could not be activated because it triggered a fatal error.
Notice: Use of undefined constant __DIR__ – assumed ‘__DIR__’ in /home3/caribsup/public_html/latinvibesgnd/wp-content/plugins/lifterlms/vendor/autoload.php on line 5
I am running on PHP 5.4.43
after plugin updated site crashed, deleted same plugin, and I got back into my site, but when I try t install the LifterLMS plugin in again I get the error message.
I really want to continue using that plugin 🙁
Hey,
Your error is caused by LifterLMS, so I suggest you consult the author of that plugin.