Post Thumb Revisited
Code Hack to Fix Error (3 posts)

  1. NPSites
    Posted 5 years ago #

    in your file

    on line 470 comment this line

    // curl_setopt ($handle, CURLOPT_MUTE, TRUE);

    CURLOPT_MUTE is no longer an option and needs to be commented out or it will throw back an error.


  2. hunnicuttz
    Posted 5 years ago #

    How do you comment it out? Do I just delete this line or do I replace it with something? I'm new to this.

  3. NPSites
    Posted 5 years ago #

    you put those two hashes // infront of a line in php and it comments it..

    You could also delete it if you want

    Updated versions of this plugin may not have this problem

    Comments in code are a good thing to get useto
    // something here describing this part of the code

    that way you know what modifications you made....

    remember though in php you have to be inside the actual php code.. template files can have a mixture of html and php

    // the code below says chicken
    echo "chicken";

    // saying chicken has been turned off
    //echo "chicken";

    the // turns the code into a comment

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic