I have a bedrock made wordpress site, with the relative folder structure. I am not going to use this site, but I want to extract the theme and the plugins used on this site and move it over to my other ‘standard-made’ wordpress site.
I’ve tried to copy the theme folder over to my ‘standard’ wordpress page (not made with bedrock);
From …/web/app/themes/mytheme - to - …/wp-content/themes/mytheme
And I have done the same with the plugins:
From …/web/app/plugins/all_my_plugins_folders - to - …/wp-content/plugins/all_my_plugins_folders
I use the same database.sql from the bedrock site in the new standard wordpress site.
But when I activate the theme, I get the following error:
“There has been a critical error on this website. Please check your site admin email inbox for instructions.” - If I deactivate the theme by renaming the theme through ftp I get my site back, but without the theme.
Is there a way I can use the theme from a bedrock-made site? Kind of reverting the theme to its normal form?
So you want to use a theme on a non-Bedrock site - the theme itself is not Sage-based?
Please check the error logs in your server to find out what exactly is missing or misconfigured with that theme.
A WordPress theme should run as fine on a non-Bedrock site as on a Bedrock-site.
In fact, Bedrock-sites require even a higher theme quality as hardcoded paths in the theme wouldn’t work.
Unfortunately they have specifically written on their pages that for security reasons, I cannot access them. But only through an email request. So I’ll be waiting.
Did you get any wiser on the theme folder I attached previously? Does it look okey?
strarsis I’ve tried many things to make this work. But basically I received a bedrock-site, and they want me to deploy it to a shared host. I managed to deploy it on the shared host that I am using, but I am not able to set it up on theirs.
This means that the composer dependency Rareloop\Lumberjack\Application is not found.
Is there a vendor/rareloop/lumberjack in the theme root folder?
Maybe run composer install/composer dump-autoload on your workstation with the same theme directory structure and PHP version as on production and re-upload vendor/?
And have you tested that theme on a case-insenstive file system by chance, WSL (2)?
This can also cause issues as most production systems are *nix, usually with a *nix file system that is case sensitive, hence e.g. attempting to locate App.php won’t wortk for app.php there.
My dear strarsis, I finally made it work. Thank you for sparring with me. You won’t believe how much that means. Even if we are strangers.
The solution was to upload the Bedrock-site to the shared web host and change the name of the ‘web’ folder to ‘www’. And then through the .htaccess file in root, set the ‘www’ folder as the new root.
I’ve been battering my head against a wall for seven days straight. And to finally make it, is unbelievable satisfying.