Hello,
Created a staging site and updated that to php 8, but when I do the site is broken, major sections do not load. All plugins and theme has been updated.
Please advise.
Hello,
Created a staging site and updated that to php 8, but when I do the site is broken, major sections do not load. All plugins and theme has been updated.
Please advise.
Hi Ashley,
Thanks for reaching out.
Can you please provide login credentials for your staging site in a secure note to examine it further, including:
– WordPress Site URL & Login URL
– WordPress Admin username/password
To create a secure note, click the key icon underneath any of your posts.
Thanks
Hello, I just attached the secure note to my previous message. Thank you.
Hi Ashley,
I have checked your website and found that it is working fine, and the Cornerstone is loading the page properly. You might have downgraded the PHP version, but it does not help us to recognize the problem you are facing.
I would suggest you please copy your live site to a staging server and update the PHP and the Pro to their latest versions and check if you are still having the same problem.
If yes, please give us access to the secure note, including:
– WordPress Site URL & Login URL
– WordPress Admin username/password
To create a secure note, click the key icon underneath any of your posts.
NOTE: If everything goes fine in your staging please migrate the staging server to live.
Thanks
Hello,
Sorry, I forgot to update it back to php 8 after I was not able to get back into the site when it broke. Please try to access it again and you will see the issue. I am copying the wpdebug errors below. And this is the staging site.
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, WP_Error given in /www/wp-content/themes/adp/functions.php:268 Stack trace: #0 /wordpress/wp-includes/shortcodes.php(355): wildblue_footer_copyright(’’, ‘’, ‘wildblue-footer’) #1 [internal function]: do_shortcode_tag(Array) #2 /wordpress/wp-includes/shortcodes.php(227): preg_replace_callback(’/\[(\[?)(wildbl…’, ‘do_shortcode_ta…’, ‘[wildblue-foote…’) #3 /www/wp-content/themes/adp/functions.php(104): do_shortcode(’[wildblue-foote…’) #4 /wordpress/wp-includes/shortcodes.php(355): wd_standard_footer(’’, ‘’, ‘insert-footer’) #5 [internal function]: do_shortcode_tag(Array) #6 /wordpress/wp-includes/shortcodes.php(227): preg_replace_callback(’/\[(\[?)(insert…’, ‘do_shortcode_ta…’, ‘[insert-footer]’) #7 /www/wp-content/themes/pro/cornerstone/includes/shortcodes/raw-content.php(18): do_shortcode(’[insert-footer]’) #8 /wordpress/wp-includes/shortcodes.php(355): x_shortcode_raw_content(Array, ‘[insert-footer]’, ‘x_raw_content’) #9 [internal function]: do_shortcode_tag(Array) #10 /wordpress/wp-includes/shortcodes.php(227): preg_replace_callback(’/\[(\[?)(insert…’, ‘do_shortcode_ta…’, ‘[x_raw_content …’) #11 /www/wp-content/themes/pro/cornerstone/includes/shortcodes/column.php(111): do_shortcode(’[x_raw_content …’) #12 /wordpress/wp-includes/shortcodes.php(355): x_shortcode_column(Array, ‘[x_raw_content …’, ‘cs_column’) #13 [internal function]: do_shortcode_tag(Array) #14 /wordpress/wp-includes/shortcodes.php(227): preg_replace_callback(’/\[(\[?)(insert…’, ‘do_shortcode_ta…’, ‘[cs_column fade…’) #15 /www/wp-content/themes/pro/cornerstone/includes/shortcodes/row.php(27): do_shortcode(’[cs_column fade…’) #16 /wordpress/wp-includes/shortcodes.php(355): x_shortcode_row(‘id="" class="x-…’, ‘[cs_column fade…’, ‘cs_row’) #17 [internal function]: do_shortcode_tag(Array) #18 /wordpress/wp-includes/shortcodes.php(227): preg_replace_callback(’/\[(\[?)(insert…’, ‘do_shortcode_ta…’, ‘[cs_row inner_c…’) #19 /www/wp-content/themes/pro/cornerstone/includes/shortcodes/section.php(158): do_shortcode(’[cs_row inner_c…’) #20 /wordpress/wp-includes/shortcodes.php(355): x_shortcode_section(‘id="x-section-1…’, ‘[cs_row inner_c…’, ‘cs_section’) #21 [internal function]: do_shortcode_tag(Array) #22 /wordpress/wp-includes/shortcodes.php(227): preg_replace_callback(’/\[(\[?)(insert…’, ‘do_shortcode_ta…’, ’
renderScoped(Array, Object(Themeco\Cornerstone\Documents\Content)) #25 /www/wp-content/themes/pro/cornerstone/includes/classes/Services/Resolver.php(353): Themeco\Cornerstone\Services\Resolver->renderDocument(Object(Themeco\Cornerstone\Documents\Content)) #26 /www/wp-content/themes/pro/cornerstone/includes/classes/Services/Resolver.php(337): Themeco\Cornerstone\Services\Resolver->Themeco\Cornerstone\Services{closure}() #27 /www/wp-content/themes/pro/cornerstone/includes/classes/Services/Resolver.php(359): Themeco\Cornerstone\Services\Resolver->safeDocRender(Object(Themeco\Cornerstone\Documents\Content), Object(Closure)) #28 /www/wp-content/themes/pro/cornerstone/includes/classes/Services/FrontEnd.php(121): Themeco\Cornerstone\Services\Resolver->renderContentFromDocument(Object(Themeco\Cornerstone\Documents\Content)) #29 /www/wp-content/themes/pro/cornerstone/includes/classes/Services/FrontEnd.php(83): Themeco\Cornerstone\Services\FrontEnd->render_the_content_cached(4619, ‘[cs_element_sec…’) #30 /wordpress/wp-includes/shortcodes.php(355): Themeco\Cornerstone\Services\FrontEnd->render_content(’’, ‘[cs_element_sec…’, ‘cs_content’) #31 [internal function]: do_shortcode_tag(Array) #32 /wordpress/wp-includes/shortcodes.php(227): preg_replace_callback(’/\[(\[?)(cs_col…’, ‘do_shortcode_ta…’, ‘[cs_content][cs…’) #33 /wordpress/wp-includes/class-wp-hook.php(308): do_shortcode(’[cs_content][cs…’) #34 /wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(’[cs_content][cs…’, Array) #35 /wordpress/wp-includes/post-template.php(255): apply_filters(‘the_content’, ‘[cs_content][cs…’) #36 /www/wp-content/themes/pro/framework/views/global/_content-the-content.php(17): the_content() #37 /www/wp-content/themes/pro/framework/legacy/functions/frontend/view-routing.php(36): include(’/www/wp-content…’) #38 /www/wp-content/themes/pro/framework/legacy/functions/frontend/view-routing.php(77): x_render_view(’/www/wp-content…’, Array, true) #39 /www/wp-content/themes/pro/framework/views/integrity/template-blank-5.php(18): x_get_view(‘global’, ‘_content’, ‘the-content’) #40 /www/wp-content/themes/pro/framework/legacy/functions/frontend/view-routing.php(36): include(’/www/wp-content…’) #41 /www/wp-content/themes/pro/framework/legacy/functions/frontend/view-routing.php(77): x_render_view(’/www/wp-content…’, Array, true) #42 /www/wp-content/themes/pro/framework/legacy/templates/template-blank-5.php(15): x_get_view(‘integrity’, ‘template’, ‘blank-5’) #43 /wordpress/wp-includes/template-loader.php(106): include(’/www/wp-content…’) #44 /wordpress/wp-blog-header.php(19): require_once(’/wordpress/wp-i…’) #45 /www/index.php(17): require(’/wordpress/wp-b…’) #46 {main} thrown in /www/wp-content/themes/adp/functions.php on line 268
Hey Ashley,
I found out that the issue occurs when the child theme is enabled because when I tried to activate the Parent Pro theme, the issue was resolved. That being said, the issue is not on our theme but on your child theme customization, I just want to let you know that we cannot extend any help on child theme customization you may seek 3rd party developers or you can avail One where we can answer questions outside of the features of our theme.
Hope that helps and thank you for understanding.
Hello,
Thank you for looking into this. Have a good day.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.