وردپرس

Plugin Conflict | WordPress.org


I’m experiencing an error when using your plugin alongside WP to Buffer. Here is the error message:

Error Details
=============
An error of type E_ERROR was caused in line 27 of the file
/home/afgournt/public_html/wp-content/plugins/wp-to-buffer/_modules/dashboard/views/deactivation-modal.php.
Error message: Uncaught TypeError: Cannot access offset of type string
on string in /home/afgournt/public_html/wp-content/plugins/wp-to-buffer/_modules/dashboard/views/deactivation-modal.php:27
Stack trace:
#0 /home/afgournt/public_html/wp-content/plugins/media-library-organizer/_modules/dashboard/class-wpzincdashboardwidget.php(597):
require_once()
#1 /home/afgournt/public_html/wp-includes/class-wp-hook.php(324):
WPZincDashboardWidget->output_deactivation_modal()
#2 /home/afgournt/public_html/wp-includes/class-wp-hook.php(348):
WP_Hook->apply_filters()
#3 /home/afgournt/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /home/afgournt/public_html/wp-admin/admin-footer.php(78): do_action()
#5 /home/afgournt/public_html/wp-admin/plugins.php(812):
require_once('/home/afgournt/...')
#6 {main}
thrown

This error seems to be caused by a conflict between Media Library Organizer and WP to Buffer. Specifically, it appears that Media Library Organizer is using a PHP class ( class-wpzincdashboardwidget.php ) from WPZinc – the WP to Buffer developers.

I’ve found a similar issue reported for another plugin having the same conflict with WP to Buffer ( https://wordpress.org/support/topic/an-error-of-type-e_error-16/ ), where WPZinc stated:

“A question for the [other plugin], observing your supplied screenshot showing they’re choosing to copy our PHP class, not namespace / prefix it for their use case and result in breaking our Plugin: We won’t be making changes here or introducing validation.”

Given this information, it seems that the issue lies with how Media Library Organizer is implementing the WPZinc PHP class. Could you have a look into this?

I’d appreciate any assistance or guidance you can provide to resolve this issue. Thank you for your time and attention to this matter.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا