Use of undefined constant PC_DIR
-
My client currently has PC 5.11. All related PC plugins are up to date:
PrivateContent Version 5.11
There is a new version of PrivateContent available. View version 6.3 details or update now.Select PrivateContent – Mail Actions Add-on
PrivateContent – Mail Actions Add-on Version 1.45Select PrivateContent – Secure Links Add-on
PrivateContent – Secure Links Add-on Version 1.31Select PrivateContent – User Data Add-on
PrivateContent – User Data Add-on Version 2.1When I update to PC 6.3, I get the following error:
Warning: Use of undefined constant PC_DIR – assumed ‘PC_DIR’ (this will throw an Error in a future version of PHP) in /nas/content/staging/scorp/wp-content/plugins/private-content-mail-actions/user_verification.php on line 9
Warning: include_once(PC_DIR/functions.php): failed to open stream: No such file or directory in /nas/content/staging/scorp/wp-content/plugins/private-content-mail-actions/user_verification.php on line 9
Warning: include_once(): Failed opening ‘PC_DIR/functions.php’ for inclusion (include_path=’.:/usr/share/pear/php:/usr/share/php’) in /nas/content/staging/scorp/wp-content/plugins/private-content-mail-actions/user_verification.php on line 9
Fatal error: Uncaught Error: Call to undefined function pc_wpml_translated_pag_id() in /nas/content/staging/scorp/wp-content/plugins/private-content-mail-actions/user_verification.php:10 Stack trace: #0 /nas/content/staging/scorp/wp-includes/class-wp-hook.php(287): pcma_mv_page_check(”) #1 /nas/content/staging/scorp/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /nas/content/staging/scorp/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /nas/content/staging/scorp/wp-includes/template-loader.php(13): do_action(‘template_redire…’) #4 /nas/content/staging/scorp/wp-blog-header.php(19): require_once(‘/nas/content/st…’) #5 /nas/content/staging/scorp/index.php(17): require(‘/nas/content/st…’) #6 {main} thrown in /nas/content/staging/scorp/wp-content/plugins/private-content-mail-actions/user_verification.php on line 10
There has been a critical error on your website.The page I need help with: [log in to see the link]
- The topic ‘Use of undefined constant PC_DIR’ is closed to new replies.