I get this Error, after i try to network activate the plugin:
"Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/mysite/public_html/wp-content/plugins/multilingual-press/inc/class-Mlp_Settingspage.php on line 373"
I bought WPML but it does not support different domains for WP Network sites, so i tough this plugin could work for me, so how to i get rid of this error?
http://wordpress.org/extend/plugins/multilingual-press/
current it is important, that you use PHP 5.3
Sorry; we will go back in the next version to php 5.2
You find the older version in the repo, that works in 5.2
http://downloads.wordpress.org/plugin/multilingual-press.0.8.1.zip
I am using a multisite WordPress.
But after this plugin is installed Multilingual Blog relationship Section is not showing up in Multilingual Press tab and hence getting this error "You didn't setup any blog relationships! You have to setup them first to use Multilingual Press."
Please help me to figure out what i am missing out.
Thanks in advance,
My PHP version is 5.3.2-1ubuntu4.11
Go to Blog in your Sites, include a blog in the MLP Network.
If you have select an language and save this settings; reload the MLP Settings or click new and you find an new Meta Box below the settings, this link all Blogs in Network, there have set an language in MLP Settings. No active a checkbox for create an releationship. Thats all.
jayr209
Member
Posted 12 months ago #
i get the same error message like s2am. i tried removing the plugin via ftp and installing the older version u linked but still get the same error. what can i do?
alexis.nomine
Member
Posted 11 months ago #
Simple fix to get rid of this error (T_PAAMAYIM_NEKUDOTAYIM) with PHP 5.2
in /wp-content/plugins/multilingual-press/inc/class-Mlp_Settingspage.php
line 373, replace:
$class::$method();
by
eval($class.'::'.$method.'();');
Worked for me.
We are currently working on an update for this plugin to support PHP 5.2. Until that, you should use:
call_user_func( $class . '::' . $method );
instead of eval. We will notify you if the update is available.
alexis.nomine
Member
Posted 11 months ago #
Thanks!
By the way, your plugin perfect suits my needs.
I only miss the ability to work with custom post types, and copy post meta, which I assume will come soon.
If I can help on this topics let me know.
Keep up the good work :)
jayr209
Member
Posted 11 months ago #
thanks for the hints. works for me so far.