Forum Replies Created

Viewing 1 replies (of 1 total)
  • I also had this problem.
    Temporary solution:
    edit class-advanced-cf7-db-admin.php
    Chenge

    	function vsz_contact_form_callback(){
    		//Check current user permission
    		if (!current_user_can('manage_options'))  {
    			wp_die( __('You do not have sufficient permissions to access this page.') );
    		}
    		wp_enqueue_style('vsz-cf7-db-admin-css');
    		//Define all entry related design in this file
    		require_once plugin_dir_path( __FILE__ ) . 'partials/contact_form_listing.php';
    	}

    for this

    		// Callback function for listing screen
    	function vsz_contact_form_callback(){
    		//Check current user permission
    		if (!current_user_can('administrator') && !current_user_can('editor')) {
    			wp_die( __('You do not have sufficient permissions to access this page.') );
    		}
     
    		wp_enqueue_style('vsz-cf7-db-admin-css');
    		//Define all entry related design in this file
    		require_once plugin_dir_path( __FILE__ ) . 'partials/contact_form_listing.php';
    	}
    
Viewing 1 replies (of 1 total)