• GEOIp Settings are not being saved.
    Change settings gets no errors at logs and success message is displayed.
    But reload of the page confirms that change to settings are not saved.

    MySQL version: 5.7.21
    PHP Version: 5.6.36

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Mostafa Soufi

    (@mostafas1990)

    Hi,

    Please enable the debug mode in your WordPress to see the current error.

    Thread Starter jjgouveia69

    (@jjgouveia69)

    Hi,

    After enabling debug mode and save settings the only thing that appears on debug.log is:

    [22-Oct-2018 08:35:11 UTC] PHP Notice: Constant FORCE_SSL_ADMIN already defined in C:\Inetpub\vhosts\adestacao.pt\httpdocs\site_ade\wp-config.php on line 107
    [22-Oct-2018 08:35:11 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in C:\Inetpub\vhosts\adestacao.pt\httpdocs\site_ade\wp-config.php on line 109
    [22-Oct-2018 08:35:11 UTC] PHP Notice: Constant WP_MAX_MEMORY_LIMIT already defined in C:\Inetpub\vhosts\adestacao.pt\httpdocs\site_ade\wp-config.php on line 110
    [22-Oct-2018 08:35:12 UTC] PHP Notice: Constant FORCE_SSL_ADMIN already defined in C:\Inetpub\vhosts\adestacao.pt\httpdocs\site_ade\wp-config.php on line 107
    [22-Oct-2018 08:35:12 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in C:\Inetpub\vhosts\adestacao.pt\httpdocs\site_ade\wp-config.php on line 109
    [22-Oct-2018 08:35:12 UTC] PHP Notice: Constant WP_MAX_MEMORY_LIMIT already defined in C:\Inetpub\vhosts\adestacao.pt\httpdocs\site_ade\wp-config.php on line 110

    and I think that is not related with the plugin.

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    It seems there is a problem in your WordPress, so, first of all, you should fix it.

    Remove the below defines in your wp-config.php

    define( 'FORCE_SSL_LOGIN', true );
    define( 'FORCE_SSL_ADMIN', true);
    Thread Starter jjgouveia69

    (@jjgouveia69)

    I’ve removed:

    define(‘FORCE_SSL’, true);
    define(‘FORCE_SSL_ADMIN’,true);

    force_ssl_login does not exist.

    The problem still exist.

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    Also, remove the below defines

    WP_MEMORY_LIMIT
    WP_MAX_MEMORY_LIMIT
    WP_MEMORY_LIMIT
    WP_MAX_MEMORY_LIMIT
    Thread Starter jjgouveia69

    (@jjgouveia69)

    If I remove that lives it gives this errors:

    [29-Oct-2018 12:39:57 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [29-Oct-2018 12:39:59 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 37258733 bytes) in C:\Inetpub\vhosts\adestacao.pt\httpdocs\site_ade\wp-includes\functions.php on line 351
    [29-Oct-2018 12:39:59 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    And the problem still exist.

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    It seems your server has limitation for using the memory. please contact your server provider to resolve this issue.

    Thread Starter jjgouveia69

    (@jjgouveia69)

    Ok I’ll do that.

    But about the original problem?
    The memory setting exists only to give higher limits. The “constants already defined” appears because somehow its defined by ISP.
    No settings can be updated in the plugin.

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    You can use constants only once in the PHP.

    Thread Starter jjgouveia69

    (@jjgouveia69)

    Now I’ve solved all issues and debug.log does not show any error.

    But GEOIp Settings are not being saved.

    like any other Setting in any tab of WP Statistics

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    Make sure the cache plugins disabled in your WordPress.

    Thread Starter jjgouveia69

    (@jjgouveia69)

    I’ve only one cache plugin active: Clear Cache For Me.

    I’ve disabled it but same problem. no erros show.

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    I think there is a conflict with other plugins.

    Thread Starter jjgouveia69

    (@jjgouveia69)

    Could it be writing settings to database?
    Can we catch what is being written to DB?

    I’ve 33 plugins and I can´t disable it all…

    Here’s the list:
    All In One Schema Rich Snippets
    All-in-One Event Calendar por Time.ly
    Analytics Cat Free
    Arquivada Publicar Estado
    Autoplay music with cookie
    Easy Table
    Elementor
    Envira Gallery Lite
    Essential Addons for Elementor
    If Menu – Visibility control for menu items
    NextScripts: Social Networks Auto-Poster
    Page Builder by SiteOrigin
    PHP code snippets (Insert PHP)
    Redirection
    Simple Music Widget
    SiteOrigin Widgets Bundle
    SportsPress
    SportsPress for Football (Soccer)
    TablePress
    Tables For Elementor
    TinyMCE Advanced
    Velvet Blues Update URLs
    WooCommerce
    WordPress HTTPS
    Wordpress Language
    WordPress Music plugin by righTune
    WP SEO Structured Data Schema
    WP Statistics
    WpDevArt Facebook Like Box
    wpDiscuz
    Yoast SEO
    Youtube Channel Gallery
    YouTube Simple Gallery

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    Thank you for providing the plugins name, we’ll check.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘GEOIp Settings are not being saved’ is closed to new replies.