Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Paths not updating when copying from live to staging environment with WP Engine.
When we copy the site over to staging Discuz is retaining the live site path. WP Engine Senior tech has investigated and it's not something they can change.
See LIVESITEFOLDER and STAGINGSITEFOLDER references below
Any ideas on how to fix or where to change it?
These are the errors:
Notice: Undefined index: /nas/content/live/LIVESITEFOLDER/wp-content/plugins/wpdiscuz/themes/default in /nas/content/live/STAGINGSITEFOLDER/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php on line 357
Notice: Trying to access array offset on value of type null in /nas/content/live/STAGINGSITEFOLDER/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php on line 357
Warning: require(/nas/content/live/LIVESITEFOLDER/wp-content/plugins/wpdiscuz/themes/default/comment-form.php): failed to open stream: Permission denied in /nas/content/live/STAGINGSITEFOLDER/wp-includes/comment-template.php on line 1554
Fatal error: require(): Failed opening required '/nas/content/live/LIVESITEFOLDER/wp-content/plugins/wpdiscuz/themes/default/comment-form.php' (include_path='.:/usr/share/pear/php:/usr/share/php') in /nas/content/live/STAGINGSITEFOLDER/wp-includes/comment-template.php on line 1554
Please follow the steps:
- Navigate to Dashboard > wpDiscuz > Forms admin page,
- Edit the Current form (if nothing is changed it's the "Default Form"),
- Just click on the "Update" button without making any changes,
- Delete website caches, purge CDN if you have and press CTRL+ F5 on the frontend.
Many thanks that has solved the issue.