Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #6301

    aprintbuyer
    Participant
    Points: 9

    Hi – I have been unable to activate the menu plugin as I get a fatal error line 105 –

    I have used your code:

    if( ! function_exists( 'hex2rgb' ) ){
    function hex2rgb($hex) {
        $hex = str_replace("#", "", $hex);
    
        if(strlen($hex) == 3) {
            $r = hexdec(substr($hex,0,1).substr($hex,0,1));
            $g = hexdec(substr($hex,1,1).substr($hex,1,1));
            $b = hexdec(substr($hex,2,1).substr($hex,2,1));
        } else {
            $r = hexdec(substr($hex,0,2));
            $g = hexdec(substr($hex,2,2));
            $b = hexdec(substr($hex,4,2));
        }
        $rgb = array($r, $g, $b);
        return implode(",", $rgb); // returns the rgb values separated by commas
        //return $rgb; // returns an array with the rgb values
    }
    }

    But this makes the site, front and backend completely unaccessible – just a white screen

    Do you have a fix for this?

    Thanks

    #6365

    Sushi
    Staff
    Points: 199

    Hi there

    Could you please remove the code and check?

    #6368

    aprintbuyer
    Participant
    Points: 9

    Hi – I removed the code on the 27th april – it is now 9th May and i have moved on and requested a refund via CodeCanyon – when developing a site for a client you can’t wait around – for 10 days to see if there is a fix

    thanks

    #6369

    Sushi
    Staff
    Points: 199

    Hi there

    Another new version is released. Could you please update?

    #6373

    aprintbuyer
    Participant
    Points: 9

    Refund received –

    Happy for you to close

    #6374

    Sushi
    Staff
    Points: 199

    Great! You got both the fixed version and refund, winner 😉

    • This reply was modified 1 year, 1 month ago by  Sushi.
    #6376

    aprintbuyer
    Participant
    Points: 9

    Did not download the fix as it was 12 days too late!

    refund was because of late response

    cheers

    m

    #6489

    Sushi
    Staff
    Points: 199

    I was kidding, really sorry if it doesn’t sound like that 🙁

    Please feel free to contact us if you need any help 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.