• Resolved rd2-d

    (@rd2-d)


    This plugin is breaking my client’s WP Multisite install. I believe the problem stems from incorrect code in the plugin’s index.php file. When it runs the function run_db_provisioning(), it calls add_option(); however, when it runs the function name_directory_update_db_check() later, it calls get_site_option(), which returns false on multisite and causes it to continually call run_db_provisioning(). This should work fine on a normal install, but for multisite, it breaks and causes 504/520 errors. Is there a reason run_db_provisioning() does not use add_site_option() instead of add_option() to allow for use on multisite installs?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi,

    Thanks for your report. There is no specific reason for that, but I thought I tested it on multisite. But I will test it again and change the provisioning according to the right functions. Please stand-by for a fix.

    Kind regards,

    Jeroen Peters

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    It works perfectly on my own multisite. Do you have the versions for me that you and your client are running?

    In the meantime I will try to improve the code to your suggestions.

    Kind regards,

    Jeroen Peters

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi rd2-D,

    Thanks again for bringing up the issue. I released v1.7.14 yesterday.

    I hope you are willing to update and let me know if the issue you were having is fixed now.

    At the time of writing the first verzuim I did not have the correct knowledge, Thanks again for enlighting me, I hope it is working again.

    Please let me know!

    Kind regards,

    Jeroen Peters

    Thread Starter rd2-d

    (@rd2-d)

    Hi,

    The latest update I’m seeing is v1.7.13, which doesn’t appear to address this issue. It might be taking a bit longer for the update to be available on my end, but in the meantime, I’ve had to implement my own temporary fix to ensure the site isn’t down consistently. I’ll keep an eye out and see if v1.7.14 fixes it, when it’s available.

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    It should be there any minute now ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin breaking on WP multisite’ is closed to new replies.