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

    (@chouby)

    Hi!

    This is certainly due to a conflict with your theme or another plugin.
    Could you look for pll_home_url in your theme and plugins files?

    Thread Starter mindyklf

    (@mindyklf)

    Hey Chouby, thx for your fast response. here is the output of my grep command
    https://gist.githubusercontent.com/mindyk/573401c1fa7b02aa4bcc/raw/4335243437515ddd21a30a62691302aec61b92a5/pll_home_url

    As there is something in wp-rocket i deactivated (or should i delete it?) that plugin and it fixed the fatal error, HOWEVER now i am still not able to add a language as i always get “Impossible to add the language.”

    Is this related? Or do i need to open a new topic. Thank you for your time, i really appreciate it

    Thread Starter mindyklf

    (@mindyklf)

    Ok so i figured it out. So the actual error message which was masked / muted by your custom error code in PLL_Admin_Model was that the taxonomy term already existed in the database.

    My best guess is that the previews fatal error corrupted the database while adding the data but not finishing up with what ever it is, polylang needed to work.

    I deleted the corrupted data manually from the database and now without the rocket plugin which lead to the error in the first place and without the corrupted data i was finally able to add a language ..

    Plugin Author Chouby

    (@chouby)

    No don’t delete WP Rocket. De-activating it is sufficient. Please report the error to the team. I know that they offer a very good support and maintain compatibility with Polylang.

    It’s possible that wrong data are now in your DB due to the fatal error.

    First, try to repair your tables ‘wp_terms’ and ‘wp_term_taxonomy’ using PHPMyAdmin.

    If this is not sufficient, search in ‘wp_term_taxonomy’ table for entries with ‘language’ and ‘term_language’ in taxonomy column. Take note of the corresponding term_id, and delete the corresponding rows. Then go in the table ‘wp_terms’, search for rows with the term_id noted above and delete the corresponding rows (the corresponding name should be the language name).

    I contacted the WP-Rocket support and they are aware of the problem. They told me it was going to be fixed in the next update(1.8) wich is coming very soon!

    Immediately after I login into my WordPress site i receive this page/error…

    Fatal error: Call to a member function add() on a non-object in /home/www/aotha.com/wp-content/plugins/quiz-master-next/php/class-qmn-tracking.php on line 101

    Help Please…
    I cannot access my wordpress site

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal error: Call to a member function get_home_url() on a non-object’ is closed to new replies.