Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • I am having the same problem. Disabled Wordfence thinking that was it. No luck.

    Wordpress on an Ehost linux server. Directory permissions 755

    I, too, am getting this error. I deleted and reinstalled wordfence and am still getting:
    Notice: Trying to get property of non-object in …/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 1014

    oops! remove the tag in that last code since that was an accidental click of bold on the code.

    Here’s the fix to lock out admin (and other hacker script guesses) on the first attempt.

    Modify function limit_login_failed by adding some code after this block:

    /* Check validity and add one to retries */
    	if (isset($retries[$ip]) && isset($valid[$ip]) && time() < $valid[$ip]) {
    		$retries[$ip] ++;
    	} else {
    		$retries[$ip] = 1;
    	}

    Add this code:

    $lowerUser = strtolower($username);
    	$kcsrvr=explode('.',$_SERVER['SERVER_NAME']);
    
    	$badnames=array('admin','administrator','support',$kcsrvr[0],$_SERVER['SERVER_NAME'],'{domain}','sysadmin','root','webmaster','anonymous','test',$kcsrver[0].'-poster''%firstuser%','adm','demo','webadmin','user','no-matches');
    
    	$badname = in_array($lowerUser,$badnames);

    Then to this line

    /* lockout? */
    	if($retries[$ip] % limit_login_option('allowed_retries') != 0) {

    add && !$badname like this:

    /* lockout? */
    	if($retries[$ip] % limit_login_option('allowed_retries') != 0 <strong>&& !$badname</strong>) {
    Thread Starter Kchun

    (@kchun)

    Should the submenus show when the menu gets small on a phone??

    Thread Starter Kchun

    (@kchun)

    Thank you so much! Really like your theme.

    Jiggling was reported by client and I can’t see it either.

    Here’s another request: in the green.css, blue.css etc file when you load the googleapis files could you change to:

    @import url(//fonts.googleapis.com/css?family=Raleway:100,300);

    That way if we’re using https (which google wants us to) it will fetch https://fonts.googleapis.com&#8230; or https://&#8230; if the site is not using SSL.

    We have naive customers using IE and getting warnings about insecure content when @import url(https://fonts.googleapis.com/css?family=Raleway:100,300); is loaded.

    If you are posting to a wordpress.com website, WordPress recently changed over all its sites to https so when you try to post to the http URL it is returning a 301 and the xmlrpc client you are using can’t follow it and probably doesn’t have the code to deal with https.

    If you are using WordPress IXL library and functions, then the cure is to make sure this is the problem (go to the URL and see if it turns into https) and change the URL you are sending to.

    Thread Starter Kchun

    (@kchun)

    The following did NOT fix the error.

    You could try changing the first foreach in the wordbooker_strip_images function so it looks like:

    foreach($images as $single){
    if (is_array($single)) {break;}

    Thread Starter Kchun

    (@kchun)

    Yes – the test post ONLY has a title, no body, no images

    Thread Starter Kchun

    (@kchun)

    Is it throwing an error because there’s not a valid image?

    Thread Starter Kchun

    (@kchun)

    Here’s the diagnostics:

    Post Time Action Message Error Code
    Testing 2013-01-27 15:50:08 Image URL https://maui-tomorrow.org ( org ) not valid –
    Testing 2013-01-27 15:50:08 Calling Wordbooker publishing function –
    Testing 2013-01-27 15:50:08 Commence Publish –
    Testing 2013-01-27 15:50:08 Author of this post is the Post Author –
    Testing 2013-01-27 15:50:08 Options Set – call transition –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_noncename 22b06788b5 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_publish_default on –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_primary_target FW:489942260654 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_primary_type 1 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_primary_active on –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_secondary_target FW:112103508898888 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_secondary_type 1 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_extract_length 256 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_actionlink 300 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_thumb_only on –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_use_excerpt on –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_attribute Posted a new post on their blog –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_status_update_text : New blog post : %title% – %link% –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_like_button_post 1 –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_publish_page_default on –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_publish_post_default on –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_post_edited yes –
    Testing 2013-01-27 15:50:08 Post option : wordbooker_override_id 1 –
    Testing 2013-01-27 15:50:08 User has been set to : 1 –
    Testing 2013-01-27 15:50:08 Posting as user : 1 –
    Testing 2013-01-27 15:50:08 Calling wordbooker_fbclient_publishaction –
    Testing 2013-01-27 15:50:08 Getting the Excerpt –
    Testing 2013-01-27 15:50:08 Getting the thumnail image –
    Testing 2013-01-27 15:50:08 Getting image from custom meta : –
    Testing 2013-01-27 15:50:08 Setting image array to be just thumb –
    Testing 2013-01-27 15:50:08 Setting image array to be post and thumb images. –
    Testing 2013-01-27 15:50:08 No Post images found so loading blank to keep Facebook happy –
    Testing 2013-01-27 15:50:08 Post Images : https://Maui-Tomorrow.org/wp-content/plugins/wordbooker/includes/wordbooker_blank.jpg
    Testing 2013-01-27 15:50:08 Getting the Excerpt –
    Testing 2013-01-27 15:50:08 Post Titled : Testing –
    Testing 2013-01-27 15:50:08 Post URL : https://Maui-Tomorrow.org/?p=3793
    Testing 2013-01-27 15:50:08 Post Caption : Protecting Maui –
    Testing 2013-01-27 15:50:08 Read Full link being used –
    Testing 2013-01-27 15:50:08 Posting to Fan Wall Maui Tomorrow (Primary) as a Wall Post –
    Testing 2013-01-27 15:50:08 Wall Post to Maui Tomorrow Test Only No Post Made –
    Testing 2013-01-27 15:50:08 Posting to Secondary target (Occupy Maui) not active –

    Thread Starter Kchun

    (@kchun)

    After I hit “UPDATE” on the post, it goes to the blank page, prints the above error about line 2741.

    Next I get a headers already sent message so I’m left with the original error, the headers error and an otherwise blank screen.

    However Wordbooker has successfully posted the update to facebook and everything else appears to have worked.

    Thread Starter Kchun

    (@kchun)

    rats….still throws error
    Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/tomorrow/public_html/wp-content/plugins/wordbooker/wordbooker.php on line 2741

    But the error in status is gone. Let me know if you want me to try anything else before I put the (string) case back into line 2741

    Thread Starter Kchun

    (@kchun)

    aha! I looked at support and saw this:

    ERROR : table ‘wp_wordbooker_postcomments’ is missing ! – Please Deactivate and Re-activate the plugin from the Plugin Options Page

    I’ll undo my hacked fix, redo wordbooker and see if that solves the problem.

    Here’s the rest:

    Wordbooker: 2.1.25
    Wordbooker Code Base: 2.1.25 R00 – All Of This Has To End
    Wordbooker ID: 254577506873
    Wordbooker Schema: 5.6
    WordPress: 3.5.1
    Table prefix: wp_
    PHP: 5.2.17
    PHP Memory Limit: 256M
    PHP Memory Usage (MB): 34.5
    JSON Encode: PHP
    JSON Decode: PHP
    Curl Status: Curl is available and can access Facebook – All is OK ( Response Time was : 0.494198083878 seconds )
    Curl Version: 7.24.0
    JSON Version: 1.2.1
    SimpleXML library: 0.1 (provided by PHP)
    HTTP Output Character Encoding: pass
    Internal PHP Character Encoding: UTF-8
    MySQL: 5.5.23-55
    Database character_set_client : utf8
    Database character_set_connection : utf8
    Database character_set_database : utf8
    Database character_set_filesystem : binary
    Database character_set_results : utf8
    Database character_set_server : utf8
    Database character_set_system : utf8
    Database character_sets_dir : /usr/share/mysql/charsets/
    Database collation_connection : utf8_general_ci
    Database collation_database : utf8_unicode_ci
    Database collation_server : utf8_unicode_ci
    Server : Apache
    Active Plugins :
    Akismet ( 2.5.7 )
    Annual Archive ( 1.3 )
    Category Posts Widget ( 3.3 )
    Custom Post Templates ( 1.5 )
    Event Calendar 3 for PHP 5.3 ( 3.1.5 )
    Event Calendar 3 for PHP 5.3 Widget ( 3.1.5 )
    Flexi Pages Widget ( 1.6.11.1 )
    Google Doc Embedder ( 2.5.4 )
    IFRAME Embed For YouTube ( 1.0 )
    Limit Login Attempts ( 1.7.1 )
    List Sub Categories Sidebar Widget ( 1.0 )
    Socialize This ( 2.2.4 )
    TinyMCE Advanced ( 3.5.8 )
    TinyMCE Valid Elements ( 0.3 )
    Form Manager ( 1.6.40 )
    Worpress Video ( 1.0 )
    WordPress Category Archive ( 1.3.0 )
    WP Issuu ( 2.15 )
    Artiss YouTube Embed ( 2.7 )
    Promotion Slider ( 3.3.1 )

    Wordbooker Table Status :
    Table ‘wp_wordbooker_errorlogs’ is present and contains 164 rows
    Table ‘wp_wordbooker_postlogs’ is present and contains 268 rows
    Table ‘wp_wordbooker_userdata’ is present and contains 1 rows
    Table ‘wp_wordbooker_userstatus’ is present and contains 1 rows
    ERROR : table ‘wp_wordbooker_postcomments’ is missing ! – Please Deactivate and Re-activate the plugin from the Plugin Options Page
    Table ‘wp_wordbooker_process_queue’ is present and contains 0 rows
    Table ‘wp_wordbooker_fb_friends’ is present and contains 0 rows
    Table ‘wp_wordbooker_fb_friend_lists’ is present and contains 0 rows

    Thread Starter Kchun

    (@kchun)

    Here’s some possibilities

    Line: 1019 unserialize CAN sometimes return an array
    wordbooker_debugger(“Access token was “,unserialize($user_row->access_token),-5,88) ;

    Line 1029 If you trace $ret_code it is unserialize of a value that could well be an array (and thus still be an array)
    wordbooker_debugger(“Return code is “,$ret_code,-5,88) ;

    There are a few other variables that come from unserialize of what may or may not be an array

Viewing 15 replies - 1 through 15 (of 24 total)