You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The invalid path for compatiblity directory cause realpath function to return false, and $theme_root become an absolute path from the /temp-theme/ folder. This absolute path is outside of allowed path in my open_basedir configuration and cause a fatal error preventing normal migration.
Note that this error is raised by wordpress class-wp-theme-json-resolver.php that try to open File(/temp-theme/theme.json)
A solution could be to use three back path: /../../../ instead of only one /../.
or to use the variable $GLOBALS['wpmdb_meta']['wp-migrate-db-pro']['abspath']
The text was updated successfully, but these errors were encountered:
Seen in master branch and in wp-migrate-db-pro 2.2.0:
https://github.com/deliciousbrains/wp-migrate-db/blob/master/class/Common/Compatibility/Compatibility.php#L68
The invalid path for
compatiblity
directory cause realpath function to return false, and $theme_root become an absolute path from the /temp-theme/ folder. This absolute path is outside of allowed path in my open_basedir configuration and cause a fatal error preventing normal migration.Note that this error is raised by wordpress class-wp-theme-json-resolver.php that try to open
File(/temp-theme/theme.json)
A solution could be to use three back path:
/../../../
instead of only one /../.or to use the variable
$GLOBALS['wpmdb_meta']['wp-migrate-db-pro']['abspath']
The text was updated successfully, but these errors were encountered: