• Resolved cahenry829

    (@cahenry829)


    Warning: strpos(): Empty needle in /home/hang10z/public_html/wp-content/plugins/envira-gallery/includes/global/common.php on line 656

    I am getting this error shown on my webpage, when I go to this file in common.php on line 656 this is the code:

    // Don’t resize images that don’t belong to this site’s URL
    if ( strpos( $url, get_bloginfo( ‘url’ ) ) === false ) {
    return $url;

    Why is this error posting on my webpage?

    Is there a workaround for to remove this error?

    Can I delete this code from common.php?

    Any help would be greatly appreciated.

    PS – Since I do not have the login information for whomever purchased this plugin, there is ABSOLUTELY no way to get in contact with their support team believe me I have tried.

    https://ww.wp.xz.cn/plugins/envira-gallery-lite/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cahenry829

    (@cahenry829)

    Here is one of the pages with the errors

    http://www.summerhousedetoxcenter.com/our-facility/bedrooms/

    The error is posting on your web page because:

    1. You have PHP debugging output enabled on a production environment

    2. The error itself advises that the result of get_bloginfo( ‘url’ ) returns nothing. This is a standard WordPress function which should tell you the URL of your site. This fails, and is down to a configuration issue with your installation / WordPress. Check your wp-config.php for any defined URLs, and check Settings > General to see if a site URL has been specified in the settings.

    Deleting code from our plugin or working around it isn’t the solution.

    Resolving why get_bloginfo( ‘url’ ) returns nothing is the solution.

    Thread Starter cahenry829

    (@cahenry829)

    A site url of http://www.summerhousedetoxcenter.com has been specified in general settings and the WP_DEBUG is set to false. I originally created this site under the name detoxnow.net however I changed the site over to this url for SEO purposes. Everything has been updated on the server side and the site is up and running except for this error. What else could be causing get_bloginfo(‘url’) to return nothing?

    I don’t know why get_bloginfo( ‘url’ ) would return nothing. You’d need to resolve this or find a developer who can.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Gallery Plugin Returning Error on Webpage’ is closed to new replies.