• Resolved emilieg4444

    (@emilieg4444)


    I can’t access my subscription form anymore, i am redirected to an error page writting:
    Warning: Declaration of TGM_Bulk_Installer_Skin::before() should be compatible with Bulk_Upgrader_Skin::before($title = ”) in /home/mespeti/public_html/wp-content/themes/hemlock/class-tgm-plugin-activation.php on line 1893

    What does it mean?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @emilieg4444,

    The error does not seem to be generating from our plugin. Can you please share a link to your website where we can see this error? Also, can you please trying switching to the default WordPress theme and testing it? It will help us rule out theme related issues.

    Hi emilieg4444,

    The Hemlock theme you are using is using a very old and out-of-date version of an external library (TGMPA) and they really should upgrade to the latest version.
    Upgrading that library to the current version will fix this.

    In the mean time, you can fix this yourself by applying the upgrade to your installation.

    1. Download the current version of the library from https://tgmpluginactivation.com/download/ (for your purposes, just click on the “Zipball” link below the form)
    2. Unzip the file and
    3. Copy/upload (via FTP) just the class-tgm-plugin-activation.php file to the /home/mespeti/public_html/wp-content/themes/hemlock/ directory of your website, replacing the existing class-tgm-plugin-activation.php file.

    Once you’ve done that, all should be fine again.

    All the same, I’d highly recommend that you contact the theme author and ask them to release a new version of the theme which includes this upgrade.

    Hope this helps.

    Smile,
    Juliette

    Thread Starter emilieg4444

    (@emilieg4444)

    Wow. This is very complicated. Sorry but i don’t understand how do do this. Isn’t there a simple plugin i can download from my wp? thx

    @emilieg4444

    No, there isn’t (a plugin) and that wouldn’t work anyway.

    To be fair, it may *sound* complicated, but it really isn’t. Just follow the 3 steps I gave you above and if you are unsure what something means or what to do, ask for a more detailed explanation for that specific step.

    Thread Starter emilieg4444

    (@emilieg4444)

    I tried and i can’t figure it out. First, “just click on the “Zipball” link below the form”, what link? There is no link. Its written zipfile or tarball and then if i get a zip, i have no idea how to proceed after this? What is Unzip? ANd then #3, copy/upload via ftp? Where is ftp?

    So, step 1 is done. Two more to go.

    “Zipping” is a way to compress a set of files into one file for easier transfer between computers (i.e. easier download). Before you can use the files again, you need to “unzip” or “unpack” the files again to uncompress them into the individual files you will eventually use.
    For more information: https://en.wikipedia.org/wiki/Zip_%28file_format%29

    Depending on your computer operating system, i.e. Windows, Apple OS, Linux, there maybe a build-in way to unzip files or you may need to download a program to do this. Winzip is one such programs and – in contrast to the name – it actually has versions for different operating systems.
    https://www.winzip.com/win/en/downwz.html

    If your operating system has the option build in, it will normally show it to you if you right-click on a zipped file, such as the one you downloaded.

    Hope this info helps you to get the file unzipped. Let me know how you get on & once this step is done, we’ll try & get step 3 working for you.

    Thread Starter emilieg4444

    (@emilieg4444)

    Ok, i managed to compress the zip file, now, whats next?

    Hi @emilieg4444,

    I presume you mean “uncompress” ? Anyway, I’m glad to hear you got the next step done. Hope it was painless.

    Next, I need to know a little bit about how your webhosting and/or website is setup.

    Could you answer the following questions for me so I can give you advise which will be as close to your situation as I can get without seeing it for myself:

    1. Can you still access the WP back-end / admin area ?
    1. If so, do you have the “Theme Editor” menu item in the “Appearance” sub-menu ?
    • If you can’t access the WP admin area: Can you login into your hosting control panel ? (not your website, but the area your webhost provides where you can define new email addresses etc)
    1. If so, either at the top of the page or the bottom, if will tell you the software used for your hosting control panel, which is it ? Typical ones are: Plesk, Cpanel, DirectAdmin etc
    2. Do you have FTP access to your website ? FTP = File Transfer Protocol = a way to upload files to your website. You should normally see an icon with the text FTP somewhere in your control panel, though sometimes it is called “Files” or “Folder access”.
    Thread Starter emilieg4444

    (@emilieg4444)

    Yes i still have access to my admin and the theme editor in appearance. My problem is simply that i can’t edit my subscriptions forms in mailchimp for WP nor can i add a popup form to it.

    Yes i have a FTP, you want me to give it to you?

    Hi @emilieg4444,

    Yes i still have access to my admin and the theme editor in appearance.

    As you still have access to that, the easiest way for you will be to follow the below steps:

    • As you uncompressed the zip file, you should now have a file called class-tgm-plugin-activation.php in the local folder where you unpacked the zip. Open that file with the simplest text editor you can find – if you use Windows, notepad.exe will be perfect for this!
    • Select all the text in the file (CTRL+A) and copy it to the computer memory/clipboard (CTRL+C)
    • Now, go to the Theme Editor in your WP admin.
    • On the right side of the page you should see a list of files. Find the file called class-tgm-plugin-activation.php and click on the name to open the file in the editor.
    • Next, click anywhere in the text edit area and select all the text (CTRL+A) and removed it (DEL)
    • Then paste (CTRL+V) the text you copied previously into the now empty text edit area.
    • Lastly, click the blue “Update file” button at the bottom of the screen to save the new file.

    Now, please test if this fixed it by going to your subscription form.

    Yes i have a FTP, you want me to give it to you?

    No, please don’t. Guard your FTP access details very carefully and please don’t share them with anyone unless you need to.
    Anyone who has FTP access can take your website down, add malware or virusses and do other nefarious things, so really be careful who you share this info with.

    Smile,
    Juliette

    Thread Starter emilieg4444

    (@emilieg4444)

    Yes it worked! Thank you very much! The only thing is i don’t see where to add a popup form!?! I have the code form Mailchimp, but where do i paste it? Thank you.

    Glad to hear you got it sorted.

    The Mailchimp question is unrelated to the original issue, so you may want to open a new issue for that (and I can’t help you with it as I don’t use the plugin).

    Oh and @emilieg4444, if you have any way to contact the theme author, please do let them know that they should update the version of TGMPA they include with the theme as you may not be the only one experiencing problems and the theme author is responsible for keeping the external libraries they use in their theme up to date.

    Thread Starter emilieg4444

    (@emilieg4444)

    Done! thank you!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘I can’t edit my subscription form’ is closed to new replies.