• Resolved rodwattrod

    (@rodwattrod)


    Hi,

    Sorry if I am being stupid here, I just installed the plugin and immediately got errors on my site.

    Notice: Use of undefined constant GOTMLS_installation_key – assumed ‘GOTMLS_installation_key’ in

    I can’t login to /wp-admin to remove it..

    I had to contact my web hosting support guys to remove it for me.

    Have others seen this problem?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter rodwattrod

    (@rodwattrod)

    Just did a quick google search, there are a few other sites seeing the same error

    http://www.danceja.com
    http://sunkencitybeer.com/
    http://www.cabo-clubrestaurant.be/

    I just updated and am getting the error too!, how do I roll back?

    thank goodness I had a backup.

    maybe this will help the author… wordpress error reports that the error is on line 66

    undefined constant GOTMLS_installation_key – assumed ‘GOTMLS_installation_key’ in /var/www/vhosts/dev.xrbrands.com/httpdocs/dist_resources/wp-content/plugins/gotmls/images/index.php on line 66

    and in the admin, gotmls shows i have a key. so.. ?

    Plugin Author Eli

    (@scheeeli)

    Sorry about that and thanks for reporting the error (“Notice”).

    I have fixed this issue and re-released a new version 4.16.38, so there is no need to roll back the update, just download the new version 😉

    I had moved some code around in the last update and accidentally placed the definition of that constant below the first usage of it, but that is fixed now.

    Notice about “Notices”: PHP Notices should not show up or interfere with the operation of your site on a production server. If you are seeing this (or any other) Notices on your site that means that your server in not configured right or you are running in “Debug Mode”. Consider changing the error_reporting value in your php.ini file.

    Thread Starter rodwattrod

    (@rodwattrod)

    Eli, thank you for the speedy fix. I have just tried to reinstall it but am getting an error

    Installation failed: Could not copy file

    Can you check please?

    Thanks,
    Rod

    Plugin Author Eli

    (@scheeeli)

    Make sure you are getting 4.16.38, I just deleted 4.16.37 so that nobody else would get that “Notice” 😉

    Thread Starter rodwattrod

    (@rodwattrod)

    Yes, thats the one, I am trying to install from my dashboard and its pointing to vs 38.

    I was going to try and download from your website but it look like it still pointing to 37.

    Sorry to hassle you 🙁

    Rod

    Plugin Author Eli

    (@scheeeli)

    No Problem. This link should point you directly to the new version:
    https://downloads.wordpress.org/plugin/gotmls.4.16.38.zip

    Thread Starter rodwattrod

    (@rodwattrod)

    sorry, getting errors

    Unpacking the package…

    Installing the plugin…

    Warning: copy(/home/wattknowledge/public_html/wp-content/plugins/gotmls/index.php): failed to open stream: Permission denied in /home/wattknowledge/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 257

    Warning: copy(/home/wattknowledge/public_html/wp-content/plugins/gotmls/index.php): failed to open stream: Permission denied in /home/wattknowledge/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 257
    Could not copy file. /home/wattknowledge/public_html/wp-content/plugins/gotmls/index.php

    Plugin install failed.

    Plugin Author Eli

    (@scheeeli)

    It sounds like you probably still have some of the old gotmls files on your site. You need to completely remove the gotmls directory from inside the plugins folder before you attempt a fresh install.

    Thread Starter rodwattrod

    (@rodwattrod)

    ok, now getting a new error

    Notice: Array to string conversion in /home/wattknowledge/public_html/wp-content/plugins/gotmls/images/index.php on line 192

    Plugin Author Eli

    (@scheeeli)

    That has to do with your server having some kind of array values in the $_SERVER global variable. That is highly irregular and, as I said before, you would not be getting any of these PHP Notices if you server was configured properly.

    that said I will throw some more error handling into my next release so that you will not get that notice.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Notice: Use of undefined constant GOTMLS_installation_key – assumed ‘GOTMLS_inst’ is closed to new replies.