• Hi,

    I have tried to activate a plugin called Payumoney which is an addon for the themes by Aitthemes, this was customized using their another plugin AIT Stripe. When I activate the plugin it throws this error:

    Fatal error: Call to undefined method Aitxxx::plugin_url() in /home4/xxxx/public_html/wp-content/plugins/ait-xxx/classes/main.php on line 16

    This is the code where it shows error in the line with plugin url:

    protected function __construct() {
    		global $xxxx;
    		$this->id				= 'xxxx';
            $this->method_title = __( 'xxx', 'ait-xxx' );
            $this->icon 			= $this->plugin_url() . '/assets/images/icon.png';
            $this->has_fields 		= true;

    Please help me to fix this issue.

    Thanks in advance

  • The topic ‘Plugin URL Error when Activating plugin’ is closed to new replies.