WordPress: The theme directory "oceanwp" does not exist .. on pages
WordPress Error:
This issue is happening on pages, not the homepage . Tried adding new pages, editing page names - nope.
Weirdly, pages display fine on the Twenty Twenty-Five and previous year WordPress themes, just not on themes by other people.
FTP - I confirmed the theme folder is present and the same name in /wp-content/themes.
I installed and activated other themes - same issue.
I disabled the /plugins folder by renaming it - same issue.
I checked error-log.php:
I tried adding
Thanks!
The theme directory "themeName" does not exist.This issue is happening on pages, not the homepage . Tried adding new pages, editing page names - nope.
Weirdly, pages display fine on the Twenty Twenty-Five and previous year WordPress themes, just not on themes by other people.
FTP - I confirmed the theme folder is present and the same name in /wp-content/themes.
I installed and activated other themes - same issue.
I disabled the /plugins folder by renaming it - same issue.
I checked error-log.php:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home/domain/public_html/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home/domain/public_html/wp-includes/class-wp-widget.php:163
I tried adding
$widget, $widget to:$this->widgets[ $widget ] = new $widget($widget, $widget);Thanks!
