Title: Fatal error
Last modified: August 20, 2016

---

# Fatal error

 *  [pey22](https://wordpress.org/support/users/pey22/)
 * (@pey22)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-581/)
 * Fatal error: Call to undefined function load_scripts() in C:\xampp\htdocs\peymansite\
   wp-content\plugins\custom-post-view-generator\index.php on line 61
 * [http://wordpress.org/extend/plugins/custom-post-view-generator/](http://wordpress.org/extend/plugins/custom-post-view-generator/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Grunk](https://wordpress.org/support/users/fixmybrokepc/)
 * (@fixmybrokepc)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280820)
 * I got the same thing, had to rm the plugin dir after making a backup. it would
   seem that load_scripts() is (obviously) undefined.
 *  [mmatchev](https://wordpress.org/support/users/mmatchev/)
 * (@mmatchev)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280828)
 * same be me now after the last plugin update:
    “Fatal error: Call to undefined
   function load_scripts() in /home/travelwi/public_html/wp-content/plugins/custom-
   post-view-generator/index.php on line 61” Can not access wp-admin anymore! Need
   urgent help! Any ideas?
 *  [SisterhoodAgenda](https://wordpress.org/support/users/sisterhoodagenda/)
 * (@sisterhoodagenda)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280831)
 * This plugin created a terrible fatal error and my dashboard would not display
   until I deleted it from my FTP site. When it was too late, I saw that others 
   experienced the same fate. Avoid this plugin! To fix it, try deleting the file
   via your FTP site. Good luck!
 *  [digihulpdienst](https://wordpress.org/support/users/digihulpdienst/)
 * (@digihulpdienst)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280832)
 * Same problem here! I also did not read these warnings…. :-(((
 *  [TemhAAhmeT](https://wordpress.org/support/users/temhaahmet/)
 * (@temhaahmet)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280838)
 * I had the same error. I changed folder name of the plugin and error goes away
   with the plugin. But i installed old version of plugin which works barely.
 * I hope developer fix this soon.
 *  [cisatchmo](https://wordpress.org/support/users/cisatchmo/)
 * (@cisatchmo)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280841)
 * Same error with v. 0.4.5
 *  [cynarad](https://wordpress.org/support/users/cynarad/)
 * (@cynarad)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280842)
 * I am receiving the same error…
    Fatal error: Call to undefined function load_scripts()
   in …/wp/wp-content/plugins/custom-post-view-generator/index.php on line 61
 *  [aaresta](https://wordpress.org/support/users/aaresta/)
 * (@aaresta)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280845)
 * I managed to solve this by editing /wp-content/plugins/custom-post-view-generator/
   index.php like this at line 61:
 * function cpvg_load_admin_scripts(){
 *  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’); }
 * as u see I was cutting
    load_scripts(); on line 61; not sure if this will affect
   other things, but for now it’s working!
 *  [matteoraggi](https://wordpress.org/support/users/matteoraggi/)
 * (@matteoraggi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280846)
 * yeah! with that changes the nit work on wp 3.5.1 🙂 [http://www.hotelintransilvania.com](http://www.hotelintransilvania.com)
 *  [Fábio R.](https://wordpress.org/support/users/fabiorosa/)
 * (@fabiorosa)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280850)
 * I Changed the line 61
 *  load_scripts();
 * to
    cpvg_load_scripts();
 *  [cynarad](https://wordpress.org/support/users/cynarad/)
 * (@cynarad)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280852)
 * I resolved this error by updating my php version to 5.3 . (I was running on php
   version 5.2). This eliminated the issue completely.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-post-view-generator.svg)
 * [Custom Post View Generator](https://wordpress.org/plugins/custom-post-view-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-view-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-view-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-view-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-view-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-view-generator/reviews/)

 * 11 replies
 * 11 participants
 * Last reply from: [cynarad](https://wordpress.org/support/users/cynarad/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-581/#post-3280852)
 * Status: not resolved