Remedine / picksters

An app for making weekly picks of NFL winners and losers. Wordpress is used as the driver.
1 stars 0 forks source link

Registration class - use of undefined constant. #4

Open Remedine opened 4 years ago

Remedine commented 4 years ago

on clicking submit on the registration page I get the following error:

This seems to be a DIVI theme error.

Whoops\Exception\ErrorException thrown with message "Use of undefined constant ET_SHORTCODES_DIR - assumed 'ET_SHORTCODES_DIR' (this will throw an Error in a future version of PHP)"

Stacktrace:

23 Whoops\Exception\ErrorException in /app/public/wp-content/themes/Divi/epanel/custom_functions.php:1651

22 Whoops\Run:handleError in /app/public/wp-content/themes/Divi/epanel/custom_functions.php:1651

21 et_add_responsive_shortcodes_css in /app/public/wp-includes/class-wp-hook.php:286

20 WP_Hook:apply_filters in /app/public/wp-includes/class-wp-hook.php:310

19 WP_Hook:do_action in /app/public/wp-includes/plugin.php:453

18 do_action in /app/public/wp-includes/script-loader.php:2231

17 wp_enqueue_scripts in /app/public/wp-includes/class-wp-hook.php:286

16 WP_Hook:apply_filters in /app/public/wp-includes/class-wp-hook.php:310

15 WP_Hook:do_action in /app/public/wp-includes/plugin.php:453

14 do_action in /app/public/wp-includes/general-template.php:2614

13 wp_head in /app/public/wp-content/themes/Divi/header.php:27

12 require_once in /app/public/wp-includes/template.php:688

11 load_template in /app/public/wp-includes/template.php:647

10 locate_template in /app/public/wp-includes/general-template.php:41

9 get_header in /app/public/wp-content/plugins/picksters/templates/login-template.php:20

8 include in /app/public/wp-content/plugins/picksters/classes/class_picksters_registration.php:100

7 ExecutiveSuiteIt\Picksters\Classes\Picksters_Registration:register_user in /app/public/wp-includes/class-wp-hook.php:286

6 WP_Hook:apply_filters in /app/public/wp-includes/class-wp-hook.php:310

5 WP_Hook:do_action in /app/public/wp-includes/plugin.php:453

4 do_action in /app/public/wp-settings.php:467

3 require_once in /app/public/wp-config.php:86

2 require_once in /app/public/wp-load.php:37

1 require_once in /app/public/wp-blog-header.php:13

0 require in /app/public/index.php:17

Remedine commented 4 years ago

should try updating DIVI theme.

also I'm not sure why it's only when submitting the registration form.