WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
[resolved] Warning message after install (6 posts)

  1. beaumonde
    Member
    Posted 1 year ago #

    I've just install Store Locator Plus and a warning appear on the page :
    Warning: Creating default object from empty value in /homez.116/…/wp-content/plugins/store-locator-le/WPCSL-generic/classes/CSL-themes_class.php on line 161

    I don't know what it means…
    Please could you help me ?

    Eric.

    http://wordpress.org/extend/plugins/store-locator-le/

  2. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    A variable is not being set for some reason. Since I have not seen this on the 10+ sites I've looked at in the past 2 weeks, including my development and test boxes, I'm guessing either a theme, plugin, or possibly even your version of PHP is triggering the issue.

    If you can go to the SLP General Settings / Plugin Environment section and post the information here we can see if your PHP setup may be a trigger.

    Also - you may have warning & errors turned on or WordPress DEBUG mode enabled in wp-config. Turning that stuff off should hide the warnings.

  3. beaumonde
    Member
    Posted 1 year ago #

    Hi,
    thanks for your reply.
    Please find below the informations from the Plugin environnement :

    CSA IP Addresses:67.225.255.142 and license.charlestonsw.com
    Active WPCSL:/homez.116/sixcentd/generationpiscinecom2013/wp-content/plugins/store-locator-le/WPCSL-generic/classes/
    Site URL:http://gp2013-preprod.quedubeaumonde.fr
    Encryption Key:d41d8cd98f00b204e9800998ecf8427e
    License Key:unlicensed
    WPCSL Version:2.0.13
    WordPress Version:3.4.2
    MySQL Version:5.1.49
    PHP Version:5.4.6
    PHP Modules:bcmath
    bz2
    calendar
    cgi-fcgi
    Core
    ctype
    curl
    date
    dba
    dom
    ereg
    exif
    fileinfo
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcache
    mhash
    mysql
    mysqli
    openssl
    pcre
    PDO
    pdo_mysql
    pdo_pgsql
    pdo_sqlite
    pgsql
    Phar
    posix
    pspell
    Reflection
    session
    SimpleXML
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    wddx
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    zip
    zlib

    _______________________________

    Here is the warning message that appears on the page, after i've turn ON the WordPress DEBUG mode in wp-config :

    Notice: Undefined variable: s in /homez.116/sixcentd/generationpiscinecom2013/wp-content/plugins/store-locator-le/include/storelocatorplus-ui_class.php on line 104

    Warning: Creating default object from empty value in /homez.116/sixcentd/generationpiscinecom2013/wp-content/plugins/store-locator-le/WPCSL-generic/classes/CSL-themes_class.php on line 161

  4. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the report. I will have to look into this. I have full warnings and debugging mode on with all my test boxes and main dev box and have not see this. However I have come across a number of themes & plugins that are translating strings incorrectly and changing internal/core function calls where an apostrophe (') needs to remain an apostrophe and NOT be translated to &#8217 or &#039 or some other non-standard character.

    Many language translation plugins do this, but do NOT do this correctly. They should only be translating CONTENT to be displayed to the user NOT internal strings like those used to communicate to other servers (like Google Maps).

    Regardless, I will investigate and see if I can find a workaround or uncover/fix any bugs I find in SLP.

  5. beaumonde
    Member
    Posted 1 year ago #

    Hello,
    I would like to customize the CSS layout of my page "Store Locator".

    . Please, could you give me a price for this changes as this screenshot:
    http://www.quedubeaumonde.fr/offline/gp-website/gp-store-locator-temp.jpg
    (the header of the page is already good)

    . the display should adapt to the size of the browser window.

    feel free to let me know if you need more clarification.
    Thanks and Regards.
    Eric.

  6. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @beaumonde - please contact me at http://www.charlestonsw.com/mindset/contact-us.

    It looks like a layout similar to the boxes theme in the pro pack premium add-on, but it will need more work. The big concern is "adapt to size of browser window". That can be VERY difficult to get working correctly in CSS. There is a huge variance in browser window sizes with mobile & desktop devices and layouts that work well on a small dimension screen don't work well on larger screens.

    I can get it close but it won't be perfect on every screen and every browser.

    - L

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.