• Resolved Charles Smith

    (@bradlux)


    Hello,

    I use OG — Better Share on Social Media plugin. It’s a good plugin. Today I updated the latest version 3.1.1 and apper in the front page the following sentences:

    “Warning: Uninitialized string offset 0 in /home/worldabc/www/www/wp-content/plugins/og/includes/iworks/class-iworks-opengraph.php on line 824”

    The php on line 824: $og = $this->set_twitter_image( $og, $og[‘og’][‘image’][0] );

    * Twitter image
    			 *
    			 * @since 2.9.3
    			 */
    			if ( ! isset( $og['twitter']['image'] ) ) {
    				$og = $this->set_twitter_image( $og, $og['og']['image'][0] );
    			}
    			/**
    			 * Schema.org
    			 *
    			 * @since 2.9.3
    			 */
    			if ( apply_filters( 'og_is_schema_org_enabled', $this->is_schema_org_enabled ) ) {
    				if ( ! isset( $og['schema']['image'] ) ) {
    					$og['schema']['image'] = $tmp_src;

    Where can I find version 3.0.2 because it works good?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Uninitialized string offset 0 in’ is closed to new replies.