I have created a group of accommodations but when I try to edit them I get an E_ERROR error on line 303.
Details of the error
An error of type E_ERROR occurred on line 303 in the file /home/school44/tests.helloglamp.com/wp-content/plugins/hivepress/includes/fields/class-attachment-upload.php. Error message: Uncaught Error: Call to undefined method HivePress\Fields_Attachment_Upload::render_attachment() in /home/escuel44/escuel44/pruebas.helloglamp.com/wp-content/plugins/hivepress/includes/fields/class-attachment-upload.php:303
Stack trace: #0 /home/school44/tests.helloglamp.com/wp-content/plugins/hivepress/includes/components/class-admin.php(1266): HivePress_Fields_Attachment_Upload->render(). #1 /home/school44/tests.helloglamp.com/wp-admin/includes/template.php(1443): HivePress_Components->render_meta_box(Object(WP_Post), Array). #2 /home/school44/tests.helloglamp.com/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post)) #3 /home/school44/tests.helloglamp.com/wp-admin/post.php(206): require(‘/home/school44/…’) #4 {main}
thrown
Please let me know if there were some code customizations in the plugin code, because there’s a different method call in the source code. You can also try to unpublish all attributes in Listings/Attributes and check if this issue persists.
I was not the first programmer. I know you have modified the functions.php file but I don’t see those modifications. The client asks me to fix it but I don’t see how.
I don’t know if I can give you access to the Wordpress panel in case you can check something.
I’m sorry for the delay. Please make sure that there are no customizations that may cause this error because there are no other bug reports regarding this error. We haven’t modified any files unless your client ordered custom work from us, but even in this case we don’t modify functions.php, we develop a custom HivePress extension.