gpt4 book ai didi

javascript - PHP fatal error : Allowed memory size of 134217728 bytes exhausted (tried to allocate 78 bytes)

转载 作者:行者123 更新时间:2023-11-28 15:09:36 25 4
gpt4 key购买 nike

我在使用 Wordpress 时遇到问题。我在 Wamp 上建立了网站,一切正常。现在我刚刚上传了它,但出现了 fatal error 。

我发现重命名我的插件文件夹时没有收到错误消息。

我也将 default-constants.php 中的内存增加到以下,但仍然没有。

    // Define memory limits.
if ( ! defined( 'WP_MEMORY_LIMIT' ) ) {
if ( false === wp_is_ini_value_changeable( 'memory_limit' ) ) {
define( 'WP_MEMORY_LIMIT', $current_limit );
} elseif ( is_multisite() ) {
define( 'WP_MEMORY_LIMIT', '64M' );
} else {
define( 'WP_MEMORY_LIMIT', '128M' );
}
}

我仍然遇到错误 500。它一定是来自插件,但我不知道如何修复它。

最佳答案

所以我不知道如何解决这个问题。我不得不使用另一种方法重新启动该过程。我在服务器上安装了 wordpress 并使用了 All-In-One Wp Migration 插件,它完美地完成了工作。

感谢帮助

关于javascript - PHP fatal error : Allowed memory size of 134217728 bytes exhausted (tried to allocate 78 bytes),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52876485/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com