subair.tc
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Native PHP Sessions] Call to a member function get_row() on nullhi @danielbachhuber ,
i got a answer from the link
It is a wordpress feature, so the global $wpdb can be called only if it has been defined previously. This means, inside the /wp-content/... folder if you use a script with wp specific features it won't work until it is compiled with wordpress core. So, for example, a theme template or plugin files can work just by calling $wpdb, but your standalone script won't, even if it is inside the plugin or theme directory. Simple solution is to include /wp-config.php file before running that script. Just write: include_once($_SERVER['DOCUMENT_ROOT'].'/wordpress/wp-config.php' ); before calling $wpdb. It works for me.
is this is the issue ? Please help me
Forum: Plugins
In reply to: [WordPress Native PHP Sessions] Call to a member function get_row() on nullhi @danielbachhuber
Any update on this ?Forum: Plugins
In reply to: [WordPress Native PHP Sessions] Call to a member function get_row() on nullHi,
Thank you for the quick response.
Please see the Stack trace we get from New Relic.Hope this will help you to troubleshoot the issue.E_ERROR: Call to a member function get_row() on null in Pantheon_Sessions\Session::get_by_sid called at /wp-content/plugins/wp-native-php-sessions/inc/class-session.php (23) in Pantheon_Sessions\Session::get_by_sid called at /wp-content/plugins/wp-native-php-sessions/callbacks.php (94) in _pantheon_session_write called at ? (?)
Forum: Plugins
In reply to: [MC4WP: Mailchimp User Sync] Auto Sync userHi,
Anyone please help me to solve this issue.
Thanks
- This reply was modified 8 years, 3 months ago by subair.tc.
Forum: Plugins
In reply to: [WordPress Native PHP Sessions] Call to a member function get_row() on nullWe have updated the plugin into latest version 0.6.0, but we still got the same error in newrelic report
E_ERROR: Call to a member function get_row() on null wp-content/plugins/wp-native-php-sessions/inc/ class-session.php (23) wp-content/plugins/wp-native-php-sessions/ callbacks.php (94)
Please help us to fix this issue.
ThanksForum: Plugins
In reply to: [WordPress Native PHP Sessions] Call to a member function get_row() on nullHi,
Any luck to solve this issue ?Thanks
SubairForum: Plugins
In reply to: [Contact Form 7] CF7 reCaptcha@renoovodesign thanks for your reply,
i have already tried the compact size,
But it will broken when any image selection option like “Images with street signs”.is there any option to make responsive the image selection popup ?.
Forum: Plugins
In reply to: [Really Simple CAPTCHA] Refresh Captcha optionis there any solution for refresh option ?
Forum: Plugins
In reply to: [WordPress Native PHP Sessions] Call to a member function get_row() on nullhi @danielbachhuber,
Thank you for you quick reply,We are using the newrelic.com application for performance analysis of the website.
Answer for your Questions.
* Currently we are using as normal plugin and we are plan to make it as mu-plugin.
* We are using session for ‘remeber-me’ option on website registration. we have some custom behavior for remember-me feature.Thanks.
hi,
I have a doubt regarding the ‘wp_set_auth_cookie’, the wp_set_auth_cookie kep the cookie two days without setting second parameter (remember ) true, i need to use the ‘wp_set_auth_cookie’ for user auto login on signup and when user closed the browser without logout after signup into the website, the cookie still kept there in two days, so some other users use the same machine the the site will auto login, may i correct ? then how to fix this issue ?
https://codex.www.ads-software.com/Function_Reference/wp_set_auth_cookie