Support » Plugin: Geolocation IP Detection » Problem with w3tc

  • Resolved wzshop

    (@wzshop)


    Hi,
    So i tried fragment caching with w3tc and inside i tried to call some plugin code such as $userInfocustom = geoip_detect2_get_info_from_current_ip(); however i get an error: Unable to execute code: $userInfocustom = geoip_detect2_get_info_from_current_ip() and so on.
    Now w3tc says you cant use some functions since w3tc is loaded before wordpress is.. Is there any possibility to fix this? Any ideas?

    https://wordpress.org/plugins/geoip-detect/

Viewing 1 replies (of 1 total)
  • Thread Starter wzshop

    (@wzshop)

    Solved it, had a stupid ‘ in my php code (text), which was causing this error.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with w3tc’ is closed to new replies.