Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
lin-en
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
Hi Chris,
We recently started receiving a “502 Bad Gateway” error message and researched into the wordpress error log. We found an error with the Helping Hands theme. I copied the error below:
[16-Jan-2017 02:37:01 UTC] PHP Warning: array_merge() expects at least 1 parameter, 0 given in /var/www/vhosts/myface.org/wp-content/themes/helpinghands/framework/inc/metabox/the-meta-boxes.php on line 505
Can you please assist us to resolve this error?
Thank you for your assistance.
Lin-En
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
skat
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
Hi there Lin En,
I don’t think that the warning has anything to do with the 502 error.
The 502 error signals a request for either a page, script, process, or query has taken too long to complete and has been cancelled.
What is your php memory allocated to php?
Cheers!
Chris
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
lin-en
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
Hi Chris,
Thank you for your explanation. Our php memory allocated to php is 256M.
Lin-En
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
skat
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
Do you have any other errors on your server’s log? How often do you get the 502 error? Can you replicate it whenever you want or does it happen randomly?
Cheers!
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
lin-en
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
This reply has been marked as private.
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
skat
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
Hi Lin En,
I assure you that those are not the culprit of your 502 error. No one reported this problem with the theme so far. In fact most of them are not even errors but some warnings.
Do you have any caching plugins installed and activated? How often do you get the error? Can you try and disable all plugins except the ones that come default with the theme and see if you still have the problem?
Cheers!
Chris