• Works very well … until I’ve try to add a new site on a multisite: fatal error and all the multisite crash!
    Problem solved after a reinstall (and some manual cleaning in the wp_options) but this forced me to manually redefine the language of all posts, pages, etc. (except on default language).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    What message did you get for the fatal error?

    Thread Starter plerix

    (@plerix)

    Hi Chouby,

    Thanks triyng to help me ??

    Fatal error: Uncaught Error: Class ‘PLL_Links_’ not found in /home/clch4709/public_html/wp-content/plugins/polylang/include/model.php:562 Stack trace: #0 /home/clch4709/public_html/wp-content/plugins/polylang/include/base.php(122): PLL_Model->get_links_model() #1 /home/clch4709/public_html/wp-includes/class-wp-hook.php(288): PLL_Base->switch_blog(‘6’, 1) #2 /home/clch4709/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #3 /home/clch4709/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/clch4709/public_html/wp-includes/ms-blogs.php(547): do_action(‘switch_blog’, ‘6’, 1) #5 /home/clch4709/public_html/wp-content/plugins/really-simple-ssl/class-multisite.php(587): switch_to_blog(‘6’) #6 /home/clch4709/public_html/wp-content/plugins/really-simple-ssl/class-multisite.php(692): rsssl_multisite->switch_to_blog_bw_compatible(Object(WP_Site)) #7 /home/clch4709/public_html/wp-content/plugins/really-simple-ssl/class-multisite.php(837): rsssl_multisite->is_multisite_subfold in /home/clch4709/public_html/wp-content/plugins/polylang/include/model.php on line 562

    Regards,
    Philippe

    Plugin Author Chouby

    (@chouby)

    Hello,

    We indeed noticed this error in an edge case on our side too. This was our way get it:
    1. Activate and setup Polylang on a secondary site on multisite.
    2. Activate the option to delete all Polylang data when the plugin is removed.
    3. Uninstall the plugin from the network (while keeping it activated on the site).
    4. Install the plugin on the network
    5. Go to the Polylang site. The plugin is active but has no option and thus badly fails.

    That’s not something we would expect a user to do often. However, this error is supposed to be fixed since Polylang 2.6.8, released only 3 days before your review. Maybe you were still using an older version.

    Thread Starter plerix

    (@plerix)

    Hello,

    Indeed I have to fully suppress Polylang and it’s data. (+ manual delete of three entries in wp_option table that where not cleared !?)
    Then reinstall and it works but …
    This option impose that I must reinstall all languages and manually reset the right language to all pages, post an products (+ all link between the translations).
    A full big day to repair ??
    All seems ok.
    Hopefully, it was our new site in developpement, so no public impact
    Kind regards,
    Philippe

    • This reply was modified 4 years, 11 months ago by plerix.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Good … but problem on a multisite’ is closed to new replies.