Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1429073
Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 5 years ago.
Improve this questionI’ve got a Nexus Theme (/) that stopped allowing me to edit through the frontend. Gives an “Error transferring data. Please try again later.” Console reports “Could not find wp-load.php (//) (), see nxs-ajax.php”“. It’s also breaking the theme’s contact form from submitting.
This started happening ever since the site was moved to Flywheel’s new cloud platform (Google Cloud). Now with the cloud platform, they move wp-admin and wp-includes into /.wordpress/. So the theme can no longer locate wp-load.php.
The theme file that looks for wp-load.php, is nxs-ajax.php (located in sftp.flywheelsites/clientname/clientsite/wp-content/themes/themename/nexusframework/stable/nexuscore/webservices/)
The nxs-ajax.php:
I’ve been working with Flywheel support and they first suggested changing the WP_LOAD_PATH to “require_once(“../../../../.wordpress/wp-load.php”);” That did not help. They also suggested just removing that line entirely, but that didn't help either.
The nxs-ajax.php file has a bunch of if statements depending on where your files are located.
Closed. This question is off-topic. It is not currently accepting answers.Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 5 years ago.
Improve this questionI’ve got a Nexus Theme (https://nexusthemes/) that stopped allowing me to edit through the frontend. Gives an “Error transferring data. Please try again later.” Console reports “Could not find wp-load.php (//) (), see nxs-ajax.php”“. It’s also breaking the theme’s contact form from submitting.
This started happening ever since the site was moved to Flywheel’s new cloud platform (Google Cloud). Now with the cloud platform, they move wp-admin and wp-includes into /.wordpress/. So the theme can no longer locate wp-load.php.
The theme file that looks for wp-load.php, is nxs-ajax.php (located in sftp.flywheelsites/clientname/clientsite/wp-content/themes/themename/nexusframework/stable/nexuscore/webservices/)
The nxs-ajax.php: https://gist.github/petebocken/90ca0099d1f48f6f08fbfab0d0235d49
I’ve been working with Flywheel support and they first suggested changing the WP_LOAD_PATH to “require_once(“../../../../.wordpress/wp-load.php”);” That did not help. They also suggested just removing that line entirely, but that didn't help either.
The nxs-ajax.php file has a bunch of if statements depending on where your files are located.
Share Improve this question asked May 20, 2019 at 20:38 petebockenpetebocken 1111 bronze badge1 Answer
Reset to default 1Here was the fix supplied by Flywheel support. They went above and beyond to help me figure this out. Amazing!
<?php
// let's load WordPress
require_once(ABSPATH . 'wp-load.php');
require_once(ABSPATH . 'wp-admin/includes/admin.php');
//send_nosniff_header();
nxs_ajax_webmethods();
die();
?>
本文标签: WordPress Nexus Theme frontend editor broken because cannot find wploadphp
版权声明:本文标题:WordPress Nexus Theme front-end editor broken because cannot find wp-load.php 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745470127a2659710.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论