Hello and thank you for contacting the Toolset support.
Let's first fix the issue with the content template so we can work on the second issue.
I logged into your website and tried to understand the issue and fix it, but I'll probably need some information before.
This URL hidden link is a preview URL, it will force Toolset to display the post(project-brief/accountant) using the content template with ID 732.
Currently, the template with that ID is on the Trash, so both of the following URLs are "basically" the same for Toolset. So, Toolset will use the assigned content template to the post, which is "Template for Projects Brief 3" with ID 746.
When I try to preview this template for a post, hidden link
While activating the "TwentyTwenty" theme, I am getting some errors, check this screenshot hidden link
1 exception(s):
Exception #0 (FishPig\WordPress\Model\Integration\IntegrationException): The FishPig WordPress theme is installed but is not active. Please login to the WordPress Admin and enable it.
Exception #0 (FishPig\WordPress\Model\Integration\IntegrationException): The FishPig WordPress theme is installed but is not active. Please login to the WordPress Admin and enable it.
<pre>#1 FishPig\WordPress\Model\Theme->validate() called at [vendor/fishpig/magento2-wordpress-integration/Model/Integration/ThemeTest.php:34]
#2 FishPig\WordPress\Model\Integration\ThemeTest->runTest() called at [vendor/fishpig/magento2-wordpress-integration/Model/IntegrationManager.php:61]
#3 FishPig\WordPress\Model\IntegrationManager->runTests() called at [vendor/fishpig/magento2-wordpress-integration/Controller/Router.php:83]
#4 FishPig\WordPress\Controller\Router->match() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#5 FishPig\WordPress\Controller\Router\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#6 FishPig\WordPress\Controller\Router\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#7 FishPig\WordPress\Controller\Router\Interceptor->___callPlugins() called at [generated/code/FishPig/WordPress/Controller/Router/Interceptor.php:26]
#8 FishPig\WordPress\Controller\Router\Interceptor->match() called at [vendor/magento/framework/App/FrontController.php:115]
#9 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#10 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#11 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#12 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#13 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/amasty/aminvisiblecaptcha/Plugin/Predispatch.php:113]
#14 Amasty\InvisibleCaptcha\Plugin\Predispatch->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#15 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:71]
#16 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#17 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#18 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#19 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->___callPlugins() called at [generated/code/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php:26]
#20 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#21 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/amasty/geoipredirect/Plugin/Action.php:342]
#22 Amasty\GeoipRedirect\Plugin\Action->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#23 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#24 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#25 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#26 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#27 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:263]
#28 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]
</pre>
These errors are probably caused by the "Network Enabled" plugin "WPSHAPERE"
While activating the FishPig theme, I am getting the following error, check this screenshot hidden link
Calling functions are FishPig\WordPress_PluginShortcodeWidget\Helper\Core::simulatedCallback, FishPig\WordPress_PluginShortcodeWidget\Plugin\FishPig_WordPress\Model\PostPlugin::FishPig\WordPress_PluginShortcodeWidget\Plugin\FishPig_WordPress\Model\{closure}, WP_Hook::apply_filters
I searched online and I understood that the theme and the plugin are meant for some kind of Magento integration. On the same time, there is an "inconsistency" between HOME_URL and SITE_URL:
- SiteURL hidden link
- HomeURL hidden link
And the WordPress installation is a multisite inside of a directory, which can create some side effects too.
Can you elaborate more on why HOME_URL and SITE_URL, especially as it is the root site of the multisite installation?
Can you perform the following tests and let us know what you will get:
- Deactivate all the plugins on the network level.
- Enable only Toolset plugins and TwentyTwenty theme on the site.
- Check the preview link hidden link