Tagged: x
-
AuthorPosts
-
April 22, 2016 at 6:13 pm #896007
flyingvgroupParticipantSee error below:
Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/stadiumb/public_html/wp-content/themes/x/framework/functions/global/admin/sidebars.php on line 378
Warning: Cannot modify header information – headers already sent by (output started at /home/stadiumb/public_html/wp-content/themes/x/framework/functions/global/admin/sidebars.php:378) in /home/stadiumb/public_html/wp-includes/pluggable.php on line 1171
April 22, 2016 at 6:15 pm #896014
flyingvgroupParticipantThis reply has been marked as private.April 23, 2016 at 9:58 pm #897091
Rue NelModeratorHello There,
Thanks for writing in! The message is just a PHP warning which there is no need to worry about. To get rid of it, can you please disable WP_DEBUG mode? You can do this by opening
wp-config.phpand adding
define( 'WP_DEBUG' , false );just above/* That's all, stop editing! Happy blogging. */For example:define('WP_DEBUG', false); /* That's all, stop editing! Happy blogging. */When you revisit the page, the PHP warning should be gone. Regarding Cornerstone that doesn’t load, it doesn’t quite get along with caching plugins. Since you have installed a caching plugin WordFence, please clear your plugin cache before testing your site. This can cause the changes to not take place on the front end. It will eventually show up when the cache regenerates, but it’s not ideal if you’re looking to see your changes immediately. Caching plugins are best to turn on only when you’ve finished building the site.
And additionally, since you are using SiteGround, could you please disable the supercacher in your hosting panel? The SuperCacher is developed by SiteGround exclusively for their customers. It increases the number of hits a site can handle and boosts the website loading speed. The SuperCacher includes 4 different caching options for maximum optimization of your websites. You can access the tool by clicking on the SuperCacher icon in your cPanel.
For more information about this, please check it out here: https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm
Hope this helps.
May 12, 2016 at 9:34 pm #988988
californiakParticipantI received the same PHP warning when I clicked Appearance > Sidebars > Add Sidebar. Checked the wp-config.php file and confirmed that wp_debug is set to false. Any suggestions?
May 12, 2016 at 11:37 pm #989110
RupokMemberHi @californiak
You can try placing
error_reporting(0);at the bottom of your wp-config.php file. Make sure to removedefine('WP_DEBUG', false);first.Hope this helps.
Cheers!
May 13, 2016 at 1:04 pm #990058
californiakParticipantThanks but that didn’t seem to work. I replaced define(‘WP_DEBUG’, false); with error_reporting(0); Didn’t work. Same result…
Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/p14tnuv2/public_html/wordpress/wp-content/themes/x/framework/functions/global/admin/sidebars.php on line 378
Warning: Cannot modify header information – headers already sent by (output started at /home/p14tnuv2/public_html/wordpress/wp-content/themes/x/framework/functions/global/admin/sidebars.php:378) in /home/p14tnuv2/public_html/wordpress/wp-includes/pluggable.php on line 1171
May 13, 2016 at 7:35 pm #990506
DarshanaModeratorAre you running PHP v5.6 or above? if not please contact your hosting provider and ask them to update. If you need further assistance, we will require your login credentials. To do that, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 17, 2016 at 2:54 pm #996060
californiakParticipantcontacted host. site is on a server that’s still on PHP v5.3. working on moving the site to a newer server.
Q: one of my pages has stopped reflecting changes ive been making in cornerstone. and when i try to exit out of cornerstone and return to wordpress, it warns me that i still need to save changes even though i already stepped through the saving process. then i check the site and see that none of the changes went through. after we migrate to new server, am i at risk of losing everything i’ve done on this page since this PHP issue surfaced? i saved a page template of that page to my library shortly before the problem started, but it doesn’t reflect the most recent changes that i described aren’t showing because of the PHP issues. can you at least comfirm that the template will be in place post-migration? also, can you confirm that the rest of my pages will be ok (the one’s i haven’t had any issues saving and confirming the changes flowed thru to public site)?
thank you thank you thank you!!
May 17, 2016 at 2:59 pm #996068
RahulModeratorHey there,
Please have a look at our migration document for better understanding of the process : https://community.theme.co/kb/cornerstone-migration/
thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-896007 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
