charles1975
February 15, 2023 at 1:45 pm
After a clean installation I’ll get this error:
You do not have sufficient permissions
wp_die()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php:1448
EE_Admin_Page->check_user_access()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php:598
EE_Admin_Page->_page_setup()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php:230
EE_Admin_Page->__construct()
wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php:24
Extend_Events_Admin_Page->__construct()
ReflectionClass->newInstanceArgs()
wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php:1293
EE_Registry->_create_object()
wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php:800
EE_Registry->create()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php:110
EventEspresso\c\s\l\CoreLoader->load()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php:157
EventEspresso\c\s\l\CachingLoader->load()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php:81
EventEspresso\c\s\l\Loader->load()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php:104
EventEspresso\c\s\l\Loader->getShared()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php:427
EE_Admin_Page_Init->_initialize_admin_page()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT_Init.core.php:24
EE_Admin_Page_CPT_Init->do_initial_loads()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php:354
EE_Admin_Page_Loader->_get_installed_pages()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php:86
EE_Admin_Page_Loader->__construct()
ReflectionClass->newInstanceArgs()
wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php:1293
EE_Registry->_create_object()
wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php:800
EE_Registry->create()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php:110
EventEspresso\c\s\l\CoreLoader->load()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php:157
EventEspresso\c\s\l\CachingLoader->load()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php:81
EventEspresso\c\s\l\Loader->load()
wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php:104
EventEspresso\c\s\l\Loader->getShared()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin.core.php:210
EE_Admin->init()
wp-includes/class-wp-hook.php:308
do_action(‘AHEE__EE_System__initialize_last’)
wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php:1283
EE_System->initialize_last()
wp-includes/class-wp-hook.php:308
do_action(‘init’)
wp-settings.php:617
I checked the file permissions and there’s no error in the logs. Also I added define( ‘FS_METHOD’, ‘direct’ ); to the wp-config.php.
What can I do?
Tony
February 15, 2023 at 5:05 pm
Add New Note to this Reply
Hi there,
Where are you navigating to when you get the above?
Are you logged in as an Administrator?
Can you navigate to Dashboard -> Event Espresso -> Maintenance -> Reset/Delete Data?
/wp-admin/admin.php?page=espresso_maintenance_settings&action=data_reset
If so, click on the ‘Reset Event Espresso Capabilities’ button and retest the page above, same error?
charles1975
February 16, 2023 at 1:38 am
Add New Note to this Reply
Yes, thanks it works. Now I can configure the website.
Tony
February 16, 2023 at 4:48 am
Add New Note to this Reply
You’re most welcome.
It means the default capabilities were not added to the administrator role on activation, the above makes sure they are added.
Any further issues just let us know.