• Resolved richaa

    (@richaa)


    i have a problem in my multisite network.

    when i try to search plugin the loader never ends, i have to refresh the page and then the search executed fine.
    Second problem is when i try to add the plugin:

    Installation failed: {"success":true,"data":{"install":"plugin","slug":"akismet","pluginName":"Akismet Anti-Spam","activateUrl":"https:\/\/www.mysite.com\/wp-admin\/network\/plugins.php?_wpnonce=XXX&action=activate&plugin=akismet%2Fakismet.php&networkwide=1"}}

    anyway if i go to installed plugins page, plugin is installed and can activate it. If i try to delete:

    Deletion failed: {"success":true,"data":{"delete":"plugin","slug":"akismet","plugin":"akismet\/akismet.php","pluginName":"Akismet Anti-Spam"}}

    Third problem, if i go to add theme, loader ends and give me this error:

    An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums.

    And the last issue i found related to this: if i go media and try to show photos in grid, it never loads anything.

    I have tryed many solutions:
    -define(‘WP_HTTP_BLOCK_EXTERNAL’, false); in wp-config.php (not working for me)
    -install health-check, only one warning: Your version of cURL, 7.54.0, is slightly out of date. The most recent version is 7.58. This may in some cases affect your sites ability to communicate with other services. If you are experiencing connectivity issues connecting to various services, please contact your host.
    – disable all plugins.
    – disable all themes.
    – debug logs shows nothing about this.
    – reinstall core files.

    I asked my hosting if it was anything related to port80 blocked requests…
    If anyone has other idea about this…

    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dion

    (@diondesigns)

    Be careful following the advice in the Health Check plugin. Instead of pointing out the minimum acceptable version of MySQL, PHP, and some PHP extensions, it says in effect “Danger Will Robinson! Update to the latest version of XXX or the sky will fall!”. (Kinda reminds me of the new “allow insecure applications” option in Gmail…password logins are extremely secure as long as the connection is encrypted via TLS. But Google wants you to use their new spiffy Oauth system so you will spend more time on the Gmail site…and be tracked, and see their ads.)

    For the purposes of WordPress, there is ZERO difference between curl 7.54 and 7.59. In fact, for the purposes of WordPress, there is zero difference between curl 7.44 and 7.59. The breakpoint is when curl added support for ALPN, which I believe was 7.35.

    While not a big deal with curl, MySQL 5.7+ and MariaDB 10.2+ are extremely bloated compared to previous versions, and updating to them could cause a VPS or dedicated server to slow down dramatically due to memory/CPU issues.

    And PHP 7.2, much like all new PHP branches in the past 15 years, is not yet stable. It still has issues with both Zend OPcache and PHP-FPM which can break sites running earlier versions of PHP that use certain aspects of these features. As with previous new branches, it’s best to hold off updating until the tenth minor release, in this case 7.2.10, to allow the {HP devs to fix the major lingering bugs.

    And I do understand why WP wants people to update to PHP 7.2 — it finally (albeit only partially) addresses the memory/CPU overhead when using objects instead of arrays. Since WP uses objects almost exclusively, it will benefit from PHP 7.2 more than most applications.

    Thread Starter richaa

    (@richaa)

    Thanks for your answer @diondesigns, but the problem persists.

    As you said, it’s not a cUrl versión problem. Does anyone know if wp-core files in multisites are different? wp-admin and wp-includes folders

    my last last try to fix this will be doing a full backup from the past before the problem appear, but this mean i will lose so many hours of work

    Thread Starter richaa

    (@richaa)

    SOLVED

    If someone is searching an answer for this. My problem didn’t even resolved with a full database restore. The problem was a misconfiguration with the Application headers.
    In the .htaccess there were those setup.

    <blockquote><IfModule mod_headers.c>
      Header set Content-Type "text/html; charset=UTF-8"
    </IfModule></blockquote>

    This completly brokes the aplication/json headers for the calls. 4 days looking for this problem…

    Hope this helps many others!

    • This reply was modified 6 years, 6 months ago by richaa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘An unexpected error occurred. Something may be wrong with www.ads-software.com or this’ is closed to new replies.