Does the file /vendor/autoload.php exist?
If not, try reinstalling the plugin please.
Thread Starter
xuv
(@juego)
Yes. File exists. Tried reinstalling with Wordpess automatic installer. Same problem.
Please try changing __DIR__
to dirname( __FILE__ )
manually in autoload.php
Does that fix it?
Thread Starter
xuv
(@juego)
Ok, done that (and updated to 1.5.2 before that also)
New error:
Parse error: syntax error, unexpected T_STRING in /home/xuvmwlsp/www/p/wp-content/plugins/wp-to-diaspora/vendor/composer/autoload_real.php on line 23
Ok, I think your PHP version is the problem.
As a quick way to find out your PHP version, please add the following at the top of the autoload_real.php
file:
die( phpinfo() );
Reloading your WordPress page, you should now see the PHP version at the top.
If you’re working on your live server and don’t have a development environment, please create a new file with a random name in the root directory of your WordPress installation and add this to it:
<?php die( phpinfo() ); ?>
Then point your browser to this new file: e.g. example.com/random-file-name.php
If you have access to the server error logs and feel comfortable debugging them, that would really help narrow it down too!
Thread Starter
xuv
(@juego)
Ha. Damn. Totally right. I do have 5.2.17.
It’s shared hosting. And I thought I had it configured for 5.4.
Weird. Have to dig into that now.
Thanks for your patience. And great plugin btw (I had it working for a while and loved it.)
Ok, see you again when your site is running PHP 5.3+ 🙂
Thread Starter
xuv
(@juego)
🙂 Running 5.4.38 now. Works like a charm. Thx. 🙂