flomol79
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] polylang and Yoast SEO conflictOk this explains everything! I am used to check the plugin if there is no incompatibility before working with it (and waste my time)… I needed one more step for Polylang! Now it works perfectly!
Thank you for your reactivity!
Forum: Plugins
In reply to: [Polylang] polylang and Yoast SEO conflictline 114 is
foreach ($polylang->model->get_languages_list() as $language) {quoted from this part of coding in the polylang/include/plugins-compat.php
WordPress SEO by Yoast * adds opengraph support for translations * * @since 1.6 */ public function wpseo_ogp() { global $polylang, $wpseo_og; // WPSEO already deals with the locale foreach ($polylang->model->get_languages_list() as $language) { if ($language->slug != $polylang->curlang->slug && $polylang->links->get_translation_url($language) && $fb_locale = self::get_fb_locale($language)) { $wpseo_og->og_tag('og:locale:alternate', $fb_locale); } } }The html source is partially outputed until the WP SEO part about the local language
<!DOCTYPE html> <!--[if IE 6]> <html id="ie6" lang="fr-FR" prefix="og: http://ogp.me/ns#"> <![endif]--> <!--[if IE 7]> <html id="ie7" lang="fr-FR" prefix="og: http://ogp.me/ns#"> <![endif]--> <!--[if IE 8]> <html id="ie8" lang="fr-FR" prefix="og: http://ogp.me/ns#"> <![endif]--> <!--[if !(IE 6) & !(IE 7) & !(IE 8)]><!--> <html lang="fr-FR" prefix="og: http://ogp.me/ns#"> <!--<![endif]--> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width" /> <title>Ultimate Grenoble | LES MONKEY</title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="stylesheet" type="text/css" media="all" href="http://ultimate-grenoble.com/wp-content/themes/twentyeleven/style.css" /> <link rel="pingback" href="http://ultimate-grenoble.com/xmlrpc.php" /> <!--[if lt IE 9]> <script src="http://ultimate-grenoble.com/wp-content/themes/twentyeleven/js/html5.js" type="text/javascript"></script> <![endif]--> <script type="text/javascript"> var piereg_pass_str_meter_string = new Array( 'Strength Indicator', 'Very weak', 'Weak', 'Medium', 'Strong', 'Mismatch' ); var piereg_validation_engn = new Array( 'none', '* This field is required', '* Please select an option', '* This checkbox is required', '* Both date range fields are required', '* Field must equal test', '* Invalid ', 'Date Range', 'Date Time Range', '* Minimum ', ' characters required', '* Maximum ', ' characters allowed', '* You must fill one of the following fields', '* Minimum value is ', '* Date prior to ', '* Date past ', ' options allowed', '* Please select ', ' options', '* Fields do not match', '* Invalid credit card number', '* Invalid phone number', '* Allowed Format (xxx) xxx-xxxx', '* Minimum 10 Digits starting with Country Code', '* Invalid email address', '* Not a valid integer', '* Invalid number', '* Invalid month', '* Invalid day', '* Invalid year', '* Invalid file extension', '* Invalid date, must be in YYYY-MM-DD format', '* Invalid IP address', '* Invalid URL', '* Numbers only', '* Letters only', '* No special characters allowed', '* This user is already taken', '* Validating, please wait', '* This username is available', '* This user is already taken', '* Validating, please wait', '* This name is already taken', '* This name is available', '* Validating, please wait', '* This name is already taken', '* Please input HELLO', '* Invalid Date', '* Invalid Date or Date Format', 'Expected Format: ', 'mm/dd/yyyy hh:mm:ss AM|PM or ', 'yyyy-mm-dd hh:mm:ss AM|PM', '* Invalid Username', '* Invalid File', '* Maximum value is ' ); </script> <script type="text/javascript"> var piereg_current_date = '2014'; var piereg_startingDate = '1901'; var piereg_endingDate = '2014'; </script> <!-- This site is optimized with the Yoast WordPress SEO plugin v1.7 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="robots" content="noodp,noydir"/> <meta name="description" content="Site web des Monkey, club d'ultimate frisbee de Grenoble depuis 1998, affilié a la FFDF (Fédération Flying Disc France)"/> <link rel="canonical" href="http://ultimate-grenoble.com" /> <link rel="next" href="http://ultimate-grenoble.com/page/2/" /> <meta property="og:locale" content="fr_FR" /> <br /> <b>Fatal error</b>: Call to a member function get_languages_list() on a non-object in <b>/home/ultimate/www/wp-content/plugins/polylang/include/plugins-compat.php</b> on line <b>114</b><br />Forum: Plugins
In reply to: [Polylang] polylang and Yoast SEO conflictI forgot to tell you that I am actually using twenty eleven theme. I don’t know if it could change something compare to twenty twelve?
Polylang + WP SEO + twenty eleven and no other plugins activated gives me the same fatal error in the blank page…
Just to let you know that I have kept the theme and other plugins in their default versions and I didn’t change tricky things in the code (I added favicon for example) as I am pretty bad in coding!
Forum: Plugins
In reply to: [Polylang] polylang and Yoast SEO conflictYes it is the latest version 1.6.3