This is how i fixed the problem.
solution 1: for people who don’t have FTP access to their site.
step 1: Download and Extract the plugin(custom-post-view-generator.zip) to your Computer
step 2: Open index.php
in text editor inside from the custom-post-view-generator folder
step 3: go to line 61 and replace load_scripts();
to cpvg_load_scripts();
step 4: zip the files and upload to plugins on your wordpress site.
step 5: install, activate and have fun.
solution 2: requires FTP excess to your site
if you installed the plugin from your wordpress dashboard and tried activating. follow this.
got-to: /wp-content/plugins/custom-post-view-generator
and open index.php
in any text editor.
search for these lines from line number 60
function cpvg_load_admin_scripts(){
load_scripts(); // <----- this is the problem here on line 61
wp_enqueue_script('jquery-ui');
wp_enqueue_script('jquery-ui-draggable');
wp_enqueue_script('jquery-ui-droppable');
wp_enqueue_script('jquery-ui-sortable');
wp_enqueue_script('jquery-ui-dialog');
}
on line 61 change load_scripts();
tocpvg_load_scripts();
save and upload the file.
comeback to your website refresh and activate.