Replies: 1
Error occur when i try to edit project.
Log:
PHP Fatal error: Uncaught Error: [] operator not supported for strings in /site_path/wp-content/plugins/bp-portfolio/includes/bpcp-item-functions.php:157
Stack trace:
#0 /site_path/wp-content/plugins/bp-portfolio-pro/templates/project/add_project.php(49): bpcp_custom_taxonomy_single_term_slug('1431', 'bb_project_cate...')
#1 /site_path/wp-content/plugins/bp-portfolio/includes/bpcp-item-template.php(16): include_once('/home/admin...')
#2 /site_path/wp-content/plugins/bp-portfolio/includes/bpcp-item-screens.php(36): bpcp_portfolio_load_template('project/add_pro...')
#3 /site_path/wp-content/plugins/bp-portfolio/includes/bpcp-item-template.php(127): bpcp_template_add_project()
#4 /site_path/wp-includes/class-wp-hook.php(298): bpcp_content_add_project_page('')
#5 /site_path/wp-includes/plugin.php(203): WP_Hook->apply_filters('', Array)
#6 / in /site_path/wp-content/plugins/bp-portfolio/includes/bpcp-item-functions.php on line 157, referer: https://site.com/bb_project/test/
Bug in file:
bp-portfolio/includes/bpcp-item-functions.php
Line 157:
$term_slugs[] = $single_tag->slug;
BP Portfolio 1.0.3
BuddyPress 2.8.2
PHP 7.1.5-1+deb.sury.org~xenial+2