Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics

PHP Fatal error Object of class stdClass could not convert to string Arrays.php

i’m mostly just submitting this. i found that bulk deleting 20 or so images in the library (not even with ACP) lead to nginx timeout. i found this in debug.log upon inspecting cause.

PHP Fatal error:  Uncaught Error: Object of class stdClass could not be converted to string in /var/www/
Stack trace:
#0 /var/www/ implode()
#1 /var/www/ AC\Helper\Arrays->implode_recursive()
#2 /var/www/ AC\Helper\Arrays->implode_recursive()
#3 /var/www/ AC\Settings\Column\CustomFieldType->format()
#4 /var/www/ ACP\Settings\Column\CustomFieldType->format()
#5 /var/www/ AC\Column->get_formatted_value()
#6 /var/www/ AC\Column->get_value()
#7 /var/www/ AC\ListScreen->get_display_value_by_column_name()
#8 /var/www/ AC\ListScreen\Media->manage_value()
#9 /var/www/ WP_Hook->apply_filters()
#10 /var/www/ WP_Hook->do_action()
#11 /var/www/ do_action()
#12 /var/www/ WP_Media_List_Table->column_default()
#13 /var/www/ WP_List_Table->single_row_columns()
#14 /var/www/ WP_Media_List_Table->display_rows()
#15 /var/www/ WP_List_Table->display_rows_or_placeholder()
#16 /var/www/ WP_List_Table->display()
#17 {main}
  thrown in /var/www/ on line 82
1 month, 1 week ago

I suspect these are two separate issues.
The fatal error you share is related to a bug in our code that will be fixed in the next update.
If you’re comfortable changing some code in our plugin, you can change the following file:


At the beginning of the foreach loop you an add the following code to prevent our code from imploding any objects.

if ( is_object( $r_pieces ) ) {

About the second issue, do I understand you correctly that you’re using the default WordPress Bulk delete option in the bulk action drop-down? Do you also have an issue when you’re using our bulk delete feature? When you also have the issue with the WordPress feature, I suspect you have a lot of data, and removing more than x items will cause the timeout. I do not expect that the timeout is cause by the fatal error though.

1 month, 1 week ago

You must be logged in to reply to this topic.