Open jperks-mower opened 2 years ago
I can't really replicate this in my local environment (which has the latest WordPress and ACF Pro updates), and I'm not really sure if the error is due to some other kind of incompatibility. I'm not really supporting this plugin anymore since I've moved to doing custom blocks, but I the best I could possibly do without knowing how you're running it currently is just add some conditional checks as to whether the term or taxonomy exists so it won't output errors.
That would be great! Are there any details I can provide to let you know how we are running it?
Hello,
We are experiencing the following issue:
Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /var/www/html/wp-content/plugins/mtm-page-components/templates/mtm-module-grid.php on line 48
Call stack:
require() wp-includes/template.php:772 load_template() wp-content/plugins/mtm-page-components/lib/class-gamajo-template-loader.php:164 Gamajo_Template_Loader::locate_template() wp-content/plugins/mtm-page-components/lib/class-gamajo-template-loader.php:88 Gamajo_Template_Loader::get_template_part() wp-content/plugins/mtm-page-components/lib/mtm-helpers.php:10 mtm_get_template_part() wp-content/themes/sun-pink-spring-theme/mtm-templates/mtm-logic-modules.php:152 require() wp-includes/template.php:772 load_template() wp-content/plugins/mtm-page-components/lib/class-gamajo-template-loader.php:164 Gamajo_Template_Loader::locate_template() wp-content/plugins/mtm-page-components/lib/class-gamajo-template-loader.php:88 Gamajo_Template_Loader::get_template_part() wp-content/plugins/mtm-page-components/lib/mtm-helpers.php:10 mtm_get_template_part() wp-content/plugins/mtm-page-components/templates/template-modules.php:14 include() wp-content/themes/sun-pink-spring-theme/base.php:102 include() wp-includes/template-loader.php:106 require_once() wp-blog-header.php:19 require() index.php:17
It seems like the mtm_acf_taxonomy_sub_property() function in lib/mtm-helpers.php is failing to get the proper value. Can you please help?