Undefined array key “wpseo_premium”
-
This error is showing on our WordPress dashboard. All plugins, themes and the core are update to date. What needs to be fixed?
Warning: Undefined array key “wpseo_premium” in /home2/{hidden}/public_html/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 578
Warning: foreach() argument must be of type array|object, null given in /home2/{hidden}/public_html/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 582
Warning: Cannot modify header information – headers already sent by (output started at /home2/navalent/public_html/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php:578) in /home2/{hidden}/public_html/wp-includes/functions.php on line 7182
Warning: Cannot modify header information – headers already sent by (output started at /home2/navalent/public_html/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php:578) in /home2/{hidden}/public_html/wp-admin/admin-header.php on line 14
The page I need help with: [log in to see the link]
-
Hello @yhtomit31,
Thanks for reporting the error. Kindly share your site info via Pastebin – WordPress > Tools > Site Health > Info > Copy site info to clipboard.
@maybellyne, here you go.
` wp-core
version: 6.9.4
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 9
dotorg_communication: true wp-paths-sizes
wordpress_path: /home2/navalent/public_html
wordpress_size: loading…
uploads_path: /home2/navalent/public_html/wp-content/uploads
uploads_size: loading…
themes_path: /home2/navalent/public_html/wp-content/themes
themes_size: loading…
plugins_path: /home2/navalent/public_html/wp-content/plugins
plugins_size: loading…
fonts_path: /home2/navalent/public_html/wp-content/uploads/fonts
fonts_size: loading…
database_size: loading…
total_size: loading… wp-active-theme
name: OceanWP Child (oceanwp-child-theme-master)
version: 1.0
author: Nick
author_website: https://oceanwp.org/
parent_theme: OceanWP (oceanwp)
theme_features: core-block-patterns, widgets-block-editor, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, menus, post-formats, title-tag, automatic-feed-links, post-thumbnails, custom-header, custom-logo, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, widgets
theme_path: /home2/navalent/public_html/wp-content/themes/oceanwp-child-theme-master
auto_update: Enabled wp-parent-theme
name: OceanWP (oceanwp)
version: 4.1.5
author: OceanWP
author_website: https://oceanwp.org/about-oceanwp/
theme_path: /home2/navalent/public_html/wp-content/themes/oceanwp
auto_update: Enabled wp-themes-inactive (4)
Twenty Twenty-Five: version: 1.4, author: the WordPress team, Auto-updates enabled
Twenty Twenty-Four: version: 1.4, author: the WordPress team, Auto-updates enabled
Twenty Twenty-Three: version: 1.6, author: the WordPress team, Auto-updates enabled
Twenty Twenty-Two: version: 2.1, author: the WordPress team, Auto-updates enabled wp-mu-plugins (2)
Endurance Page Cache: version: 2.3.0, author: Mike Hansen
SSO: version: 0.5, author: Garth Mortensen, Mike Hansen wp-plugins-active (37)
Admin Columns: version: 4.7.20, author: AdminColumns.com, Auto-updates disabled
All-in-One WP Migration and Backup: version: 7.103, author: ServMask, Auto-updates disabled
Better Search Replace: version: 1.4.10, author: WP Engine, Auto-updates disabled
Broken Link Checker: version: 2.4.8, author: WPMU DEV, Auto-updates disabled
Classic Editor: version: 1.6.7, author: WordPress Contributors, Auto-updates disabled
Disable auto-update Email Notifications: version: 1.5.0, author: Gutoz, Auto-updates disabled
Elementor: version: 3.35.7, author: Elementor.com, Auto-updates disabled
Elementor Pro: version: 3.35.1, author: Elementor.com, Auto-updates disabled
Essential Addons for Elementor: version: 6.5.13, author: WPDeveloper, Auto-updates disabled
Essential Addons for Elementor - Pro: version: 6.7.11, author: WPDeveloper, Auto-updates disabled
Export All URLs: version: 5.1, author: Atlas Gondal, Auto-updates disabled
Flamingo: version: 2.6.1, author: Rock Lobster Inc., Auto-updates disabled
HubSpot All-In-One Marketing - Forms, Popups, Live Chat: version: 11.3.44, author: HubSpot, Auto-updates disabled
Imagify: version: 2.2.7, author: Imagify Image Optimizer – Optimize Images & Convert WebP & Avif, Auto-updates disabled
JetBlog For Elementor: version: 2.4.8, author: Crocoblock, Auto-updates disabled
JetElements For Elementor: version: 2.8.1.1, author: Crocoblock, Auto-updates disabled
JetEngine: version: 3.8.6.2, author: Crocoblock, Auto-updates disabled
Jetpack Protect: version: 4.4.1, author: Automattic - Jetpack Security team, Auto-updates disabled
JetSearch: version: 3.5.16.1, author: Crocoblock, Auto-updates disabled
JetSmartFilters: version: 3.7.5, author: Crocoblock, Auto-updates disabled
JetThemeCore: version: 2.3.1.1, author: Crocoblock, Auto-updates disabled
Landingi Landing pages: version: 4.2.0, author: Landingi, Auto-updates disabled
Make Column Clickable Elementor: version: 1.6.2, author: Fernando Acosta, Auto-updates disabled
Migrate Guru – Site Migration & Cloning: version: 6.28, author: Migrate Guru, Auto-updates disabled
NitroPack: version: 1.19.3, author: NitroPack Inc., Auto-updates disabled
Redirection: version: 5.7.5, author: John Godley, Auto-updates disabled
Safe SVG: version: 2.4.0, author: 10up, Auto-updates disabled
Schema & Structured Data for WP & AMP: version: 1.57, author: Magazine3, Auto-updates disabled
Shortcoder: version: 6.5.2, author: Aakash Chakravarthy, Auto-updates disabled
Simple Custom CSS and JS: version: 3.52, author: SilkyPress.com, Auto-updates disabled
The Bluehost Plugin: version: 4.14.1, author: Bluehost, Auto-updates disabled
WordPress Importer: version: 0.9.5, author: wordpressdotorg, Auto-updates disabled
WP Activity Log: version: 5.6.1, author: Melapress, Auto-updates disabled
WPCode Lite: version: 2.3.5, author: WPCode, Auto-updates disabled
WP Rollback: version: 3.1.0, author: WP Rollback, Auto-updates disabled
Yoast Duplicate Post: version: 4.6, author: Enrico Battocchi & Team Yoast, Auto-updates disabled
Yoast SEO: version: 27.2, author: Team Yoast, Auto-updates disabled wp-plugins-inactive (2)
Ocean Extra: version: 2.5.4, author: OceanWP, Auto-updates disabled
Ocean Sticky Header: version: 2.0.7, author: OceanWP, Auto-updates disabled wp-media
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1693
imagemagick_version: ImageMagick 6.9.13-37 Q16 x86_64 18989 https://legacy.imagemagick.org
imagick_version: 3.8.1
file_uploads: 1
post_max_size: 1024M
upload_max_filesize: 1024M
max_effective_size: 1 GB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 226 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 12288
imagick::RESOURCETYPE_MAP: 48 MB
imagick::RESOURCETYPE_MEMORY: 48 MB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 300
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
image_format_transforms: image/heic → image/jpeg, image/heif → image/jpeg, image/heic-sequence → image/jpeg, image/heif-sequence → image/jpeg
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.25 wp-server
server_architecture: Linux 4.19.286-203.ELK.el7.x86_64 x86_64
httpd_software: Apache
php_version: 8.3.30 64bit
php_sapi: litespeed
max_input_variables: 3000
time_limit: 600
memory_limit: 2048M
max_input_time: 600
upload_max_filesize: 1024M
php_post_max_size: 1024M
curl_version: 8.17.0 OpenSSL/1.1.1w
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
static_robotstxt_file: true
current: 2026-03-23T14:58:09+00:00
utc-time: Monday, 23-Mar-26 14:58:09 UTC
server-time: 2026-03-23T14:58:06+00:00 wp-database
extension: mysqli
server_version: 5.7.23-23
client_version: mysqlnd 8.3.30
max_allowed_packet: 268435456
max_connections: 150 wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home2/navalent/public_html/wp-content
WP_PLUGIN_DIR: /home2/navalent/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 2048M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: does not exist
mu-plugins: writableThanks for sharing.
Kindly deactivate and uninstall Yoast SEO Free. If you have a caching plugin, clear the site cache. Next, reinstall Yoast SEO Free v27.2. Does this resolve the issue?
It did not. No front end caching, but I purged the server cache via Bluehost
Did the error persist when Yoast SEO was deactivated and deleted? Are you able to share screenshots of the error as they appear in the dashboard? You can use any image-sharing service like https://pasteboard.co/, https://snag.gy/, https://snipboard.io/, or even upload the screenshot to your own website. Once you upload it to an image-sharing service, please share the link to the image here.
The only change was set the area above the admin sidebar to display:none to show the entire message. Otherwise, it was blocked
Sorry, @maybellyne. It was loading when I posted, and my assumption was wrong. Here’s the screenshot
Thanks for the screenshot! I was wondering if you had Yoast SEO Premium at some point, causing Yoast SEO Free to accidentally look for “Premium” settings in your database that aren’t there. Please try the following:
- Install & activate the Yoast Test Helper plugin
- Go to Tools > Yoast Test
- Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations‘, ‘Reset Prominent words calculation‘, and ‘Reset Internal link counter‘ buttons. After each click, the page will reload to confirm that the specific reset was successful.
- Go to Admin > Yoast SEO > Tools
- Click the “Start SEO data optimization” button to allow Yoast to rescan your content.
Please let us know if the reported issue remains after resetting the optimized data.
@maybellyne, the plugin is installed, but I don’t think it completed the reset process after clicking each. Each time it stopped here.
Please share screenshots of what you have in WordPress > Plugins > Installed Plugins and WordPress > Yoast SEO > Tools.
PS: It seems using the Yoast Test Helper to reset data isn’t working for you. The errors reference an undefined array key, “wpseo_premium,” in the Yoast SEO options, resulting in warnings and header issues on the dashboard.
Kindly reach out to your web hosting provider for further assistance. They need to check for and remove any keys or entries referencing
wpseo_premium, which causes the plugin to look for premium settings that don’t exist.-
This reply was modified 3 days, 16 hours ago by
Maybellyne.
-
This reply was modified 3 days, 16 hours ago by
Maybellyne.
@maybellyne, waiting on reply from hosting.
https://drive.google.com/file/d/1qftwSxIUv8y3aTUb96C6p5k7M9VSQrQj/view?usp=drive_link
https://drive.google.com/file/d/1R9NZMxcXbw8CtqpJzPK0TkjpDoXP8X77/view?usp=drive_link
You must be logged in to reply to this topic.