Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • WP Guardian
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • WP Guardian
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • WP Guardian
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • WP Guardian
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Unable to change login settings of WordPress instance: Cannot read property ‘login’ of undefined

 
applications extensionsbackupdatabasedomainsgo

Symptoms

  • Unable to change login settings in Domains > example.com > WordPress instance > Setup:

    Something went wrong.
    r is underfined

    or

    Something went wrong.
    Cannot read property 'login' of undefined

    or

    Administrator account not found for this WordPress instance. Please create administrator account manually in WordPress

  • Opening http://example.com/wp-admin.php redirects to http://example.com or shows the error below:

    Sorry, you are not allowed to access this page.

  • There is no "Administrator" user for the instance:

    # plesk ext wp-toolkit --wp-cli -instance-id 1 -- user list --format=json --quiet --role=administrator

    Note: instance-id can be seen in the address bar of a browser by opening the instance in Domains > example.com > WordPress instance:
    ID

  • In Domains > example.com > WordPress instance > Database > open in phpMyAdmin > example_usermeta there are no records with meta_key example_capabilities and example_user_level for user_id 1:
    Table

Cause

Corrupted WordPress instance database.

Resolution

  1. Log into Plesk.

  2. Open Domains > example.com > WordPress instance > Database > necessary database > open in phpMyAdmin > example_usermeta.

  3. Click Insert button:
    Insert

  4. Type the following:

    First query:

    user_id - 1
    meta_key - example_capabilities
    meta_value - a:1:{s:13:"administrator";b:1;}

    1

    The second query:

    user_id - 1
    meta_key - example_user_level
    meta_value - 10

    1

  5. Click Go:
    1

Note: If the table does not exist, the last backup should be restored or WordPress Support Contacted, to further assistance to reacreate the table.

Read the full article
Related Posts

How to Host a Go App on Plesk

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »
Knowledge Base

Broken WordPress installation after migration to Plesk via Site Import: it does not seem that this WordPress website is working

Read More »

A copied WordPress instance in Plesk redirects to original domain

Read More »

WP Toolkit shows WordPress instance as broken when a domain is using Alt-PHP: Error establishing a database connection

Read More »

WordPress instances marked as broken in: Plesk WP Toolkit has found WordPress files at the following path

Read More »

Hosting Wiki

  • Django
  • CLI
  • Google Cloud CDN
  • AMP
  • Backup
  • PhpMyAdmin
  • phpPgAdmin
  • Linux
  • PHP
  • MongoDB
  • Joomla! Toolkit
  • Domain
  • WP Toolkit
  • WordPress
  • Plesk
  • SQL database
  • NoSQL Database
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family