Forum Replies Created

Viewing 15 replies - 1 through 15 (of 1,132 total)
  • Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Awesome! Glad to hear you are finding it useful 🙂

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Version 2.1.3 is now published. Hopefully that fixes the problem for you, if not, let me know.

    I’m setting this topic as “resolved”, but I can’t set it as “unresolved” if you experience any problems.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I figured out the problem. The taxonomies are collected all in one go on loading the plugin, but WooCommerce loads it’s later on, which causes it not allow for custom headers. This didn’t matter with other categories, because they’re set earlier in the load cycle.

    I’ll have a solution to this ready soon …

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Thanks for the extra context. It was impossible for me to fix this, as I couldn’t find a problem until your comment here.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    @gnukleo  Thank you! I’m able to replicate your problem. I’m working on a solution right now for you.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Could you try this version of the plugin to see if it fixes your problem?
    https://stuff.hellyer.kiwi/temp/unique-headers-2.1.2.zip

    It has no affect on my test setup. I can upload videos to the header just fine on it, and they don’t interfere with how the plugin works, so I’m not able to debug this myself sorry. If we’re lucky, it will do the trick. If it works, I’ll release it as the official version.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I’m having some trouble replicating this bug. Do you have any extra info. that may be relevant, or which could help me replicate the problem? Thanks 🙂

    In the mean time, I’ll clean up a test version I have and provide it for you here to test with in case it helps. I tried your ideas about loosening the type requirements up a bit. I’ll post it here once it’s ready.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I misunderstood originally. You are trying to add videos via the customizer, not this plugin, but you are getting errors because of this plugin. That is a definite bug if it is the case. I’m working on it right now. I’ll try to fix out as soon as possible.

    Thanks for alerting me to this problem. It didn’t show up during the testing process.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I didn’t even realise videos even worked in the plugin! It’s for header images. Video support would have been a side effect of how it works, rather something intentional.

    But since it worked before, I will get to work and make it work with videos again for you. I’ll post back here once I have a test version ready for you to try.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Sorry about this!

    @siliconforks  pointed this out on GitHub. The problem was caused by a clash between the PSR container loader I added to Disable Emoji’s and some plugins/themes using very very old incompatible container setups.

    It’s now patched and shouldn’t happen again.

    Forum: Plugins
    In reply to: [Unique Headers] Abandoned?
    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Definitely not abandoned. Just not in need of development. I’ll bump the version number, probably this weekend, so you won’t get messages about it being potentially abandoned.

    Forum: Plugins
    In reply to: [Spam Destroyer] GD library
    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    GD is a PHP library which needs to be installed on the server itself. Most standard web hosting services offer it by default. This can be a little difficult if you don’t have some server management experience.

    Here are some instructions to turn it on that I found online …

    Installing GD Library for PHP

    Here are the instructions for installing the GD library for PHP on different systems:

    Linux (Ubuntu/Debian)

    For PHP 7.x/8.x:
    sudo apt update
    sudo apt install php-gd

    For specific PHP versions: For PHP 8.1

    sudo apt install php8.1-gd For PHP 8.0

    sudo apt install php8.0-gd For PHP 7.4

    sudo apt install php7.4-gd

    Linux (CentOS/RHEL/Rocky Linux)

    Using yum/dnf: CentOS 7/RHEL 7

    sudo yum install php-gd CentOS 8+/RHEL 8+/Rocky Linux

    sudo dnf install php-gd

    macOS

    Using Homebrew: If you have PHP installed via Homebrew

    brew install php GD is typically included by default Or reinstall with GD explicitly

    brew reinstall php –with-gd

    Using MacPorts:
    sudo port install php81-gd

    Windows

    Using XAMPP/WAMP:

    1. GD extension is usually pre-installed and enabled
    2. Check your php.ini file and ensure this line is uncommented:
      extension=gd

    Manual installation:

    1. Download the appropriate PHP GD extension DLL
    2. Place it in your PHP extensions directory
    3. Add extension=gd to your php.ini file

    Compiling from Source (Advanced)

    If you need to compile PHP with GD support: Install GD development libraries first

    sudo apt install libgd-dev libpng-dev libjpeg-dev libfreetype6-dev Configure PHP with GD support

    ./configure –with-gd –with-jpeg –with-png –with-freetype Compile and install

    make && sudo make install

    Verification

    After installation, restart your web server and verify GD is working:

    Restart Web Server

    Don’t forget to restart your web server after installation: Apache

    sudo systemctl restart apache2 or

    sudo service apache2 restart Nginx with PHP-FPM

    sudo systemctl restart nginx
    sudo systemctl restart php-fpm or

    sudo service nginx restart
    sudo service php-fpm restart

    Common Issues

    Permission issues: Make sure your web server user has proper permissions to load the extension.

    Wrong PHP version: Ensure you’re installing the GD extension for the correct PHP version your web server is using.

    Missing dependencies: On some systems, you might need additional image libraries like libjpeg, libpng, or libfreetype.

    The exact installation method depends on your operating system and how PHP was installed on your system. The package manager approach (apt, yum, brew) is usually the simplest and most reliable method.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Now it should be fixed.

    The fix I did earlier, was literally just implementing the translations. But I didn’t realise there was the same notice being triggered in the admin panel as before.

    I’m not sure why they’re insisting that translations are done on init, as they work just fine before that. I guess there’s some logic behind it though, just something I’m not thinking of.

    Thanks again for informing me about this. It’s not a problem I thought it would crop up.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    This update was wrong. I’m fixing it now.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Hopefully this problem is gone with the latest update.

    I included a credit to you in the readme file.

    Thanks for finding the bug 🙂

Viewing 15 replies - 1 through 15 (of 1,132 total)