500 Error
- This topic has 28 replies, 2 voices, and was last updated 8 years, 5 months ago by Simon Senzon.
-
AuthorPosts
-
June 4, 2016 at 9:08 am #6018Christian WachParticipant
Hi Simon, I would suggest you follow the advice you’ve received from the theme developer in addition to the MySQL settings tweaks that I suggested previously. The server sounds powerful enough to cope with your requirements.
Best wishes, Christian
June 4, 2016 at 10:11 am #6019Simon SenzonParticipant<div class=”bbp-reply-content”>
Looks like the DNS namechange has not fully propagated yet. I will keep you posted. Thanks.
</div>
June 4, 2016 at 10:16 pm #6020Simon SenzonParticipantI really don’t know what to do next.
Even with the increase to a new cloud server we are still getting the error.
This is from the server tech:
Hello Simon,
Thank you for contacting our Help Desk.
I reviewed the other ticket and found that increasing the memory_limit PHP value and the max_allowed_packet MySQL value were discussed.
I increased the memory_limit to 1024 MB and the max_allowed_packet to 500 MB.
However, when the php.ini file is used (the one that sets the memory limit to 1014 MB), the website pages including:
https://members.institutechiro.com/groups/
https://members.institutechiro.com/people/
https://members.institutechiro.com/activity/are showing the following error:
<h6>Code:</h6>
<div>
Warning: array_merge(): Argument #2 is not an array in /home/simonsen/public_html/members/wp-includes/load.php on line 65</div>
I, therefore, renamed the php.ini to php.ini.1767025. Please check with your theme’s developer for advice on resolving the error in question and let us know what we can do to help from our end.I am leaving this ticket open for your convenience.
Best Regards,
June 4, 2016 at 10:28 pm #6021Simon SenzonParticipantOK. I just determined that this error is being caused by the BB Press Forums.
Please advise on how to fix this.
June 4, 2016 at 10:30 pm #6022Simon SenzonParticipantDo I need that plugin for commons in the box to work?
June 4, 2016 at 10:38 pm #6023Simon SenzonParticipantSo the forums I created are still there under the groups page. It looks like I can comment. But the group forums for buddypress is not activated and the bbpress forum plugin is deactivated.
This is a bit confusing.
Thanks for your help.
June 4, 2016 at 10:49 pm #6024Simon SenzonParticipantI found the same error on the bbpress support page.
https://bbpress.org/forums/search/Warning%3A+array_merge%28%29%3A+Argument+%232/
- This reply was modified 8 years, 5 months ago by Simon Senzon.
June 6, 2016 at 12:04 pm #6026Simon SenzonParticipantHello again.
I deactivated CBOX and deleted it.
Then I reinstalled and it loaded with the bbpress forum deactivated (which is how it was set to stop the error). I then updated bbpress forum and thus reinstalled it as per the instructions from the bbpress forum. The error started again.
The person on bbpress forum sent me back to CBOX. She writes, “in which case I go to their support forum, as I’ve no idea what version or combination of versions they are using, and whether their version is the issue”
Please help. @Christian Wach
June 6, 2016 at 12:29 pm #6027Simon SenzonParticipantI deleted CBOX and bbpress. Then installed the latest bbpress.
Still getting the same error.
June 6, 2016 at 12:31 pm #6028Christian WachParticipantHi Simon,
I’m getting a bit confused as to the problem you’re encountering. Are you still seeing “Out of Memory” errors or something else? The link you posted suggests you’re seeing a different error now.
You don’t need the BBP Private Groups plugin for BuddyPress group forums to inherit the access permissions from the BuddyPress group. If disabling that plugin solves the error you’re seeing, then leave it disabled.
Cheers, Christian
June 6, 2016 at 3:19 pm #6029Simon SenzonParticipantHi Christian.
Sorry to confuse you.
I increased my plan so there is no longer a memory issue.
The buddypress pages are still blank when then the bbpress forums plugin is enabled.
Do I need that one?
This only happens with my new theme – which looks beautiful on the other pages, such as my libraries of videos that took me two weeks to create (as well as my front pages).
The current error is this: Warning: array_merge(): Argument #2 is not an array in /home/xxxxxx/public_html/members/wp-includes/load.php on line 65
My theme developer has decided the other day it is a problem with the plugin.
The bbpress developer says that it is a conflict with the plugin and the theme.
If I don’t need that activated to run the forums then I will just leave it off.
Please advise.
Thanks.
Simon
June 6, 2016 at 3:26 pm #6030Simon SenzonParticipantSorry about the extra confusion with BBP Private Groups. That is not the plugin with the issue. I found that thread because the beginning of the error message was the same. Now I know that part is generic.
It is bbpress forums plugin that is the problem.
June 7, 2016 at 4:58 am #6032Christian WachParticipantHi Simon,
There seem to be two issues here. Am I right in thinking that both of the following are true:
- BuddyPress pages are blank
- There’s a PHP warning on some pages
Let’s take these in turn…
1) The blank BuddyPress pages are unlikely to be caused by the PHP Warning, since the scripts would continue to to execute. There must be a more severe error in the logs that causes script execution to halt completely. If you don’t have access to the server logs, you can get WordPress to create its own error log by adding the following to your ‘wp-config.php’ file:
define('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', false); define('WP_DEBUG_LOG', true);
This should cause a file called ‘debug.log’ to be created inside the folder ‘wp-content’ with the details of the error when you visit a BuddyPress page.
2) It’s not clear to me on which page(s) the PHP warning appears. If you want to investigate this properly, then some debugging code will help. Keep the above constants set in ‘wp-config.php’ and add the following just before line 65 in /home/xxxxxx/public_html/members/wp-includes/load.php
if ( ! is_array( $_SERVER ) ) { error_log( print_r( array( 'method' => __METHOD__, 'SERVER' => $_SERVER, 'backtrace' => wp_debug_backtrace_summary(), ), true ) ); }
When you see the warning, look in ‘debug.log’ to see the results of the logging. What strikes me as particularly strange is that the
$_SERVER
variable is not an array – this array is normally built automatically by PHP to provide server and execution environment information. To find out if this array is usually populated, create a file called ‘phpinfo.php’ in /home/xxxxxx/public_html/members/ that contains just the following:<?php phpinfo(32); ?>
You will then need to visit the URL that corresponds to this file. This will show you all your PHP variables. You should have variables such as
_SERVER["HTTP_HOST"]
,_SERVER["PATH"]
and so on. Do you see any of these? If you do, then we need to dig deeper into why$_SERVER
is not what’s expected on your site. You can delete ‘phpinfo.php’ when you’ve verified this. Also, probably not wise to post the results ofphpinfo()
here.Cheers, Christian
- This reply was modified 8 years, 5 months ago by Christian Wach. Reason: Added instructions for viewing PHP info
June 11, 2016 at 11:34 pm #6038Simon SenzonParticipantThanks for all of your help.
The developer replicated the site on his server.
It turned out that a plugin did not like the name of the theme folder!
All working now.
All my best.
Simon
-
AuthorPosts
- You must be logged in to reply to this topic.