I believe this happened after updating Pro, Cornerstone, or Wordpress, but the links for the header using inline navigation element are missing the text. Using Pro 3.0.4, Cornerstone 4.0.4, Wordpress 5.2.3 on PHP 7.3. The anchor tags are there, including an inner <span/>
, but not the menu link text like Contact
.
I see one error in PHP logs that seems related:
PHP Fatal error: Uncaught Error: Call to undefined function x_get_partial_data() in //wp-content/themes/pro/framework/views/partials/anchor.php:224
Stack trace:
#0 //wp-content/themes/pro/framework/functions/frontend/view-routing.php(178): include()
#1 //wp-content/themes/pro/framework/functions/frontend/view-routing.php(55): X_View_Router::render('/nas/content/li...', Array, false)
#2 //wp-content/themes/pro/cornerstone/includes/utility/element-api.php(144): x_get_view('partials', 'anchor', '', Array, false)
#3 //wp-content/themes/pro/cornerstone/includes/elements/definitions/button.php(44): cs_get_partial_view('anchor', Array)
#4 [internal function]: x_element_render_button(Array)
#5 //wp-content/themes/pro/cornerstone/includes/classes/elements/class-element-definition.php(396): call_user_func('x_element_rende...', Array)
#6 //wp-content/themes/pro/cornerston in //wp-content/themes/pro/framework/views/partials/anchor.php on line 224, referer: https://****/pro/#/headers