Cannot add a new Course, error 500 admin page-Coursepress

When attempting to add a new course through the admin panel, there are multiple sections. When I click "next" after the first section, nothing happens. I am getting javascript errors and warnings:

Uncaught TypeError: $(...).spinner is not a function
coursepress-courses.js?ver=1.3.4.2:41

'//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead. (plugins.js)

Failed to load resource: the server responded with a status of 500 ()
admin.php?page=course_details

  • Predrag Dubajic

    Hey HIG,

    Hope you're doing well today :slight_smile:

    I see that you're still running previous version of the plugin, could you please update to latest version (currently 1.3.4.2) and see if the issue is still happening after that?

    If the issue is still there after that can you enable debug log in your wp-config.php by replacing define('WP_DEBUG', false); with this code:

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set( 'display_errors', 0 );

    Follow the steps to replicate the issue and this should create debug.log file in your wp-content folder that could tell us what is going on.
    Can you please save it as .txt file and attach it here so we can check it out.

    Best regards,
    Predrag

  • HIG

    I have had error logging on for a month, as this plugin has another issue in another thread.

    Here's the most recent errors:

    [30-Aug-2016 13:02:24 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 13:02:24 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:15:37 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:15:37 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:17:39 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:17:39 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:33:58 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:33:58 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:35:50 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:36:12 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:36:45 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:37:37 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:37:46 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:37:46 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:38:17 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:38:18 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:41:40 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:43:24 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:43:47 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:43:53 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:43:53 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:46:59 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:47:22 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:47:22 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:47:52 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:47:53 UTC] PHP Notice: Undefined index: email in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/coursepress.php on line 1612
    [30-Aug-2016 14:56:11 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:56:11 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:56:36 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 14:56:36 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:15:11 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:15:11 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:26:30 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:26:30 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:53:52 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:53:52 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:55:41 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:55:41 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:56:53 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 15:56:53 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 16:01:39 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 16:01:39 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 16:44:09 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 16:46:22 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 120 bytes) in /home/psna/psna.org/html/ce/wp-includes/class-wp-user.php on line 489
    [30-Aug-2016 17:16:45 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 17:16:45 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 17:32:15 UTC] PHP Notice: Undefined index: post in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 17:32:15 UTC] PHP Notice: Trying to get property of non-object in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 361
    [30-Aug-2016 17:34:48 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 91 bytes) in /home/psna/psna.org/html/ce/wp-includes/class-wp-user.php on line 489
    [30-Aug-2016 17:42:07 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/psna/psna.org/html/ce/wp-content/plugins/debug-bar-hook-log/includes/hook-log.php on line 128
    [30-Aug-2016 17:44:47 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/classes/class.coursepress-capabilities.php on line 0
    [30-Aug-2016 17:47:28 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:47:35 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:47:54 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:50:04 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:51:01 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:52:18 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:53:09 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:54:38 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:56:49 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:57:04 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:57:19 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:57:34 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:57:48 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:58:04 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:58:19 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:58:34 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:58:49 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:59:03 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:59:18 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:59:33 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:59:48 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 17:59:51 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/classes/class.instructor.php on line 41
    [30-Aug-2016 18:00:04 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 18:00:18 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 18:00:33 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 18:00:49 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 18:00:56 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/classes/class.instructor.php on line 42
    [30-Aug-2016 18:01:04 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 18:01:18 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/psna/psna.org/html/ce/wp-includes/functions.php on line 3658
    [30-Aug-2016 18:02:02 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/classes/class.instructor.php on line 41
    [30-Aug-2016 18:03:07 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/psna/psna.org/html/ce/wp-includes/class-wp-user.php on line 462
    [12-Sep-2016 14:38:16 UTC] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/psna/psna.org/html/ce/wp-includes/load.php on line 757
    [12-Sep-2016 15:41:28 UTC] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/psna/psna.org/html/ce/wp-includes/load.php on line 757
    [12-Sep-2016 15:44:20 UTC] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/classes/class.instructor.php on line 42
    [12-Sep-2016 17:30:37 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1916491 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 17:39:36 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1896428 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 19:45:13 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1813752 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 19:54:28 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1886911 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:30:06 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1646190 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:31:57 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1888355 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:33:44 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1887494 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:35:31 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1886617 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:37:19 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1886617 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:39:07 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1886617 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:40:05 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1889811 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 20:41:58 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1645895 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 21:23:21 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1889229 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [12-Sep-2016 21:32:04 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1904801 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [13-Sep-2016 11:58:25 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1906838 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [13-Sep-2016 12:00:19 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1906545 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [13-Sep-2016 12:02:07 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1885722 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [13-Sep-2016 12:03:56 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1906545 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1098
    [13-Sep-2016 12:05:42 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1906545 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101
    [13-Sep-2016 12:07:29 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1904207 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101
    [13-Sep-2016 12:09:18 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1904788 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101
    [13-Sep-2016 12:11:04 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1904788 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101
    [13-Sep-2016 12:46:43 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1883113 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101
    [13-Sep-2016 12:48:31 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1904785 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101
    [13-Sep-2016 12:50:19 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1905666 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101
    [13-Sep-2016 14:40:59 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1481516 bytes) in /home/psna/psna.org/html/ce/wp-content/plugins/coursepress/includes/functions.php on line 1101

  • Milan

    Hello HIG ,

    Hope you are well today and thanks for asking us. :slight_smile:

    I can see Memory size exhausted error in your logs. That error usually means allocated memory is not sufficient to run site smoothly. We can increase it by adding this constant in site's wp-config.php file like this,

    define( 'WP_MAX_MEMORY_LIMIT', '512M' );

    Let me know how it goes after then. :slight_smile:
    Best Regards,
    Milan

  • HIG

    That is an incredibly large memory limit. Even when increasing, that doesn't effect the javascript error that is causing the "next" button to do nothing when adding a new course. We have our memory limit increased, and our timeout at 300!! seconds, and each page takes nearly that 300 seconds to load .

    Here's my new error:
    Fatal error: Maximum execution time of 300 seconds exceeded in wp-content/plugins/coursepress/includes/classes/class.course.unit.module.php on line 848

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.