getimagesize() and basename() theme errors

Discussion in 'RoadFighter WordPress Theme' started by dcrowthe, Feb 7, 2014.

  1. dcrowthe

    dcrowthe New Member

    Joined:
    Jul 15, 2013
    Messages:
    2
    Likes Received:
    0
    Installed the RoadFighter theme and am experiencing errors towards the bottom of the homepage where the "latest in the blog" section is. The images do not show and instead there is a black box with the following errors:

    Warning: getimagesize() expects parameter 1 to be string, object given in /wp-content/themes/roadfightertheme/functions/dynamic-image.php on line 243

    Warning: basename() expects parameter 1 to be string, object given in /wp-content/themes/roadfightertheme/functions/dynamic-image.php on line 244


    I have done the following troubleshooting steps without a resolution:
    1. disabled all plugins to see if there was a conflict
    2. activated a different theme and reactivated the Roadfighter theme
    3. deleted the featured image for the posts and re-added them.

    URL: legacyimagesphotography.com






     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    I think you are using .gif format images for your blog post that's why this type of issue is occurring. Use .png and .jpg format images for your blog post, This will solve your issue.


    Thanks & Regards
    Gourav Shrivastava
     
  3. dcrowthe

    dcrowthe New Member

    Joined:
    Jul 15, 2013
    Messages:
    2
    Likes Received:
    0
    Hi Gourav,

    Thanks so much for your response. I am already using jpg images within the posts.

    Any other ideas?

    thanks
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Please provide the following information listed below.

    Thread Link:
    Your Website URL:
    WordPress Username:
    WordPress Password:

    Send this information on our email at [email protected]
    I will check your issue and solve it.


    Thanks & Regards
    Gourav Shrivastava
     
  5. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Support mail sent.

    Thanks & Regards
    Gourav Shrivastava
     

Share This Page