Skip to:
Content
Pages
Categories
Search
Top
Bottom

HTTP error


  • central4all
    Participant

    @central4allgmailcom

    I get HTTP error when i try to upload image to cover or avatar .
    all old topics were not helpful.

Viewing 11 replies - 1 through 11 (of 11 total)

  • shanebp
    Moderator

    @shanebp

    Show the complete error.


    central4all
    Participant

    @central4allgmailcom

    this is the only error i get
    https://prnt.sc/8PtJzp75wYAh


    shanebp
    Moderator

    @shanebp

    You need to provide more info.
    Turn on WP DEBUG and then check the error log.
    Open your browser’s console and check for javascript errors.


    central4all
    Participant

    @central4allgmailcom

    From logs gives this error
    2022-08-26 10:06:27.739089 [NOTICE] [566017] [5.203.157.99:2859:HTTP2-1847#seeme.baby-443] oops! 503 Service Unavailable

    in the console i dont see any java errors

    from debug i get
    Deprecated: Return type of BP_Core_BP_Nav_BackCompat::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/admin/domains/seeme.baby/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 122

    Deprecated: Return type of BP_Core_BP_Nav_BackCompat::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/admin/domains/seeme.baby/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 97

    Deprecated: Return type of BP_Core_BP_Nav_BackCompat::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/admin/domains/seeme.baby/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 63

    Deprecated: Return type of BP_Core_BP_Nav_BackCompat::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/admin/domains/seeme.baby/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 148

    Deprecated: Automatic conversion of false to array is deprecated in /home/admin/domains/seeme.baby/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 3364

    Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/admin/domains/seeme.baby/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 460


    central4all
    Participant

    @central4allgmailcom

    the most of the warnings were fixed, by downgrading php ,
    the http error remains


    shanebp
    Moderator

    @shanebp

    It could be a cocnflict with some other plugin on your site.
    And if you are using a javascript minify plugin or setting – try removing it.


    central4all
    Participant

    @central4allgmailcom

    no i tested it, i even changed php version and and and


    shanebp
    Moderator

    @shanebp

    Try switching to the BP Nouveau template pack in BP settings.
    Try switching to a WP theme like 2020 and see if the issue persists.


    central4all
    Participant

    @central4allgmailcom

    i tried , nothing. Problem persists


    central4all
    Participant

    @central4allgmailcom

    take photo works and saves photo, upload nothing to do.
    Any ideas ?
    Is maybe the upload mechanism ?


    central4all
    Participant

    @central4allgmailcom

    This was the problem,
    This is test script. One line of PHP code:
    https://seeme.baby/test.php

    503 error in result.
    Because function ‘transliterator_transliterate’ failed to execute on your server.

    Exactly the same PHP script on my own server working properly:
    https://takereal.com/test.php

    File ‘wp-content\plugins\buddypress\bp-core\classes\class-bp-attachment.php’ updated
    to prevent ‘transliterator_transliterate’ execution.

    old line #297:
    if ( function_exists( ‘transliterator_transliterate’ ) && seems_utf8( $retval ) ) {

    My version:
    if ( 0 && function_exists( ‘transliterator_transliterate’ ) && seems_utf8( $retval ) ) {

    Function ‘transliterator_transliterate’ used in the ‘class-bp-attachment.php’ only.

    File name sanitized in another way, without ‘transliterator_transliterate’ function.
    ‘class-bp-attachment.php’ has code to sanitize file name
    without ‘transliterator_transliterate’ function.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Skip to toolbar