Hi. I am getting a '502 bad gateway' error when logging in using the vbplogin link. I can reach wp-login.php manually but not using this link. I am on wpengine and have added the code to customizer plugin as below. It works fine on the staging site though?!
<!--?php if(!class_exists('WPLMS_Customizer_Plugin_Class')) { class WPLMS_Customizer_Plugin_Class // We'll use this just to avoid function name conflicts { public function __construct(){ add_filter('wplms_course_details_widget',array($this,'remove_wplms_course_details_widget')); add_filter('wplms_login_widget_action',array($this,'mycustom_login_url')); } // END public function __construct public function activate(){ // ADD Custom Code which you want to run when the plugin is activated } public function deactivate(){ // ADD Custom Code which you want to run when the plugin is de-activated } function remove_wplms_course_details_widget($course_details){ $key = 'time'; // Set $key value from price,precourse,time,level,seats,badge,certificate unset($course_details[$key]); return $course_details; } // ADD custom Code in clas } // END class WPLMS_Customizer_Class function mycustom_login_url($login_url){ $login_url .='?wpe-login=mywpengineinstallname'; return $login_url; } } // END if(!class_exists('WPLMS_Customizer_Class')) ?-->
This reply has been marked as private.
Please refer the screenshot for the errors in the code:
http://prntscr.com/f3lbzg