• Resolved Spiffy Plugins

    (@spiffyplugins)


    I tried to update my server to PHP 7.4 today but it broke my site. The page would draw until it got to the metaslider (flexslider) then quit. No errors logged. If I disable the Metaslider plugin then the page completes drawing.

    Any ideas on why this would happen?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    Any server log errors? I’m using 7.4.10 on my testing site.

    Thread Starter Spiffy Plugins

    (@spiffyplugins)

    Nothing is logged. Thanks for confirming it works for you. I will do some testing to try to pinpoint the problem.

    Thread Starter Spiffy Plugins

    (@spiffyplugins)

    I managed to get some logging using the Query Monitor plugin. Strangely my web host didn’t log anything. The error is:

    Fatal error: Uncaught Error: Call to undefined function ctype_lower() in ***/wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/Token/Tag.php on line 44

    Seems like my web host is missing a PHP extension?

    Thread Starter Spiffy Plugins

    (@spiffyplugins)

    I have notified my web host that it is missing the ctype extension.

    Hi,

    Yeah that extension is pretty popular and something I think should be on by default. If they have some reason not to enable it I can probably help you bypass that.

    This is happening to us, too. How can it be fixed?

    Call to undefined function ctype_lower() in /wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/Token/Tag.php:44 Stack trace: #0 /wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/TokenFactory.php(48): HTMLPurifier_Token_Tag->__construct(”, Array) #1 /wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/Lexer/DOMLex.php(39): HTMLPurifier_TokenFactory->__construct() #2 /wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/Lexer.php(117): HTMLPurifier_Lexer_DOMLex->__construct() #3 /wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier.php(153): HTMLPurifier_Lexer::create(Object(HTMLPurifier_Config)) #4 /her in /wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/Token/Tag.php on line 44

    Hi Jennifer,

    You need to ask your host about the ctype extension and ask them to make sure it’s installed and working properly. It’s a very common PHP library and should be installed by default, but maybe your hosting company has disabled it for some reason.

    Also, if you need to follow up, can you create a new issue? That way we don’t bother others with debugging steps if needed.

    https://www.ads-software.com/support/plugin/ml-slider#new-post

    I just deleted it and used a slider that worked. VERY disappointed.

    Hi @mossifer,

    The ctype extension is default on servers running PHP for 20 years now but for some reason your host removed it. Not sure how the responsibility is on us here.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Metaslider not working with PHP 7.4’ is closed to new replies.