HTTP error
-
I get HTTP error when i try to upload image to cover or avatar .
all old topics were not helpful.
-
Show the complete error.
this is the only error i get
https://prnt.sc/8PtJzp75wYAhYou 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.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 Unavailablein 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 122Deprecated: 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
the most of the warnings were fixed, by downgrading php ,
the http error remainsIt 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.no i tested it, i even changed php version and and and
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.i tried , nothing. Problem persists
take photo works and saves photo, upload nothing to do.
Any ideas ?
Is maybe the upload mechanism ?This was the problem,
This is test script. One line of PHP code:
https://seeme.baby/test.php503 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.phpFile ‘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.
- You must be logged in to reply to this topic.