Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Updated to 3.1.2:

    Error log while trying to post to social media account:

    [2014-01-16 09:38:06] - [Error] [Twitter - MYWEBSITE] - -=ERROR=- Array ( [pgID] => [isPosted] => 0 [pDate] => 2014-01-16 16:38:05 [Error] => Resp: {"request":"\/1.1\/statuses\/update.json","error":"Read-only application cannot POST."}| Error: | MSG: Facebook Test - https://www.mywebsitehere.com/blog/facebook-test/ ) | PostID: 154 - Facebook Test |im
    [2014-01-16 09:38:05] - [Error] [Facebook - MYWEBSITE Facebook] - -=ERROR=- Array ( [pgID] => [isPosted] => 0 [pDate] => 2014-01-16 16:38:05 [Error] => No Auth Token Found ) | PostID: 154 - Facebook Test |im

    Next to my accounts in red it says:

    Attention required. Unfinished setup

    If I try to edit the settings of my facebook or twitter account, I get an error in Firefox Console:

    ReferenceError: doGetHideNTBlock is not defined

    This was all working last month. Added a post yesterday it doesn’t work. Today, after updating, my posts are still not working.

    echo $meta . ‘, ‘;

    Should do the trick.

    Thread Starter enchantedillusions

    (@enchantedillusions)

    I edited the plugin myself. It seems wpautop was being forced in inc/fields/wysiwyg.php on lines 46-49.

    I changed:

    static function value( $new, $old, $post_id, $field )
    		{
    			return wpautop( $new );
    		}

    to:

    static function value( $new, $old, $post_id, $field )
    		{
    			if ($field['wpautop'] == 'false') : 
    
    		  		return $new;
    		else:
    				return wpautop($new);
    		 endif;
    
    		}

    In my “demo.php” under the fields array for wysiwyg I added:

    'wpautop' => 'false'

    I wanted to set a default value of true in case there is blank value for the wpauto. So in file /inc/classes/meta-box.php after line 503, I added:

    'wpautop' => true,

    And Finally… when I call in the meta data in the template I used the_content filter before I displayed it:

    $content_middle = apply_filters('the_content', get_post_meta( get_the_ID(), 'content_middle', true));
    echo $content_middle;

    This would also work in the template with only this:

    echo apply_filters('the_content', get_post_meta( get_the_ID(), 'content_middle', true));

    Thread Starter enchantedillusions

    (@enchantedillusions)

    it was an issue with Gmail. Used Configure SMTP and it works.

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