Viewing 15 replies - 16 through 30 (of 32 total)
  • dennistsc

    (@dennistsc)

    could you help me too? i have a problem with my site too

    Plugin Author RealMag777

    (@realmag777)

    @dennistsc
    If you have the same problem just apply code above, if not start please new forum page with your question. before look please another questions maybe you will find solution there: https://www.ads-software.com/support/plugin/woocommerce-currency-switcher

    I am using the free version of the currency switcher .I have added the code for wc_clean in the index.php in woocommerce currency switcher but it is still throwing fatal error.Please help.

    Plugin Author RealMag777

    (@realmag777)

    @rupalichaudhuri

    That script above is works, try implement it right, there is no another solutions …

    Only one idea that function runkit_function_remove doesn exits – check it please …

    This just happened to me. I removed the offending currency changer. Maybe another day I will try the fix. Glad I didnt buy the currency switcher

    Plugin Author RealMag777

    (@realmag777)

    @rabbisteve

    And why you wrote it here?

    @realmag777 It is really cool that respond so fast.
    I wrote this here because I would prefer that the WooCommerce Currency Switcher continued to work, but instead it gives white screen of death and an error in the httpd error_log

    Plugin Author RealMag777

    (@realmag777)

    @rabbisteve

    Today is a black day for geo-ip feature (6 emails) – just try to disable geo-ip functionality on the plugin settings page for today and tomorrow, looks like smth wrong with the service which provides such functionality …

    httpd error_logwp_validate_redirect?

    Hello!
    I use WooCommerce Currency Switcher, but there were problems with the geolocation, the website does not open (error 500), or open through time, is written in the log error: Call to undefined function wp_validate_redirect () in /public_html/wp-includes/http.php on line 528

    may be possible as that provided in the plugin version of such an error, if that would be a problem in service that provides geolocation, just display the site with an indication of the default currency

    Plugin Author RealMag777

    (@realmag777)

    @denniseds

    Hello
    Yes, its total fail, and looks like with service, because its happened suddenly, try hot fix please: https://currency-switcher.com/wp-content/uploads/2016/02/index.zip – unpack and replace index.php in the plugin folder on your server …

    Find code block beginning from if ($this->storage->get_val(‘woocs_first_unique_visit’) == 0) and replace it to next code:

    if ((int) $this->storage->get_val(‘woocs_first_unique_visit’) == 0)
    {
    $this->is_first_unique_visit = true;
    $this->storage->set_val(‘woocs_current_currency’, $this->get_welcome_currency());
    }

    Ah!! thing is wrong in my previous code, because error is gone, but issue on currency conversion..

    So Here is the correct function which you need to replace :

    if ((int) $this->storage->get_val(‘woocs_first_unique_visit’) == 0)
    {
    //$this->storage->set_val(‘woocs_first_unique_visit’, 0);
    $this->is_first_unique_visit = true;
    $this->storage->set_val(‘woocs_current_currency’, $this->get_welcome_currency());
    $file_path = ABSPATH . ‘wp-content/plugins/woocommerce/includes/class-wc-geolocation.php’;
    if (file_exists($file_path))
    {
    include_once($file_path );
    $this->init_geo_currency();
    }
    }

    I have the same issue but…
    Can anybody tell me where should I replace the provided code?
    I mean, what is the name of the .php file I ought to see for?

    I found the place… it was so obvious, sorry…

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Fatal error…class-wc-geolocation.php on line 105’ is closed to new replies.