• Resolved fcrick

    (@fcrick)


    Hello

    For some reason I don’t have any possibility to add another library, besides the default one provided during installation. I am expecting to find a function of some sort on the libraries page, which allows me to add another library.

    After some debugging, I noticed that the plugin throws an “unexpected output/header already sent” error during activation. Digging a little deeper, I found that the following statements are involved:

    WordPress database error: [Incorrect index name ”]
    ALTER TABLE wpxxx_links_extrainfo ADD UNIQUE KEY (link_id)
    WordPress database error: [Incorrect index name ”]
    ALTER TABLE wpxxx_linkcategorymeta ADD UNIQUE KEY (meta_id)

    I am running a standard LEMP stack on Ubuntu 16.04. Let me know if you need further info. Also, please let me know if I am looking in the wrong place for adding a library.

    Thanks

    BR

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    To create multiple libraries, you need to increase the number of libraries under the General Settings section of Link Library.

    I will look into the unexpected output, but I think you will be fine once you set the number of libraries correctly.

    Thread Starter fcrick

    (@fcrick)

    Thanks for your quick reply. With your help, I was able to add more libraries, so that part is solved. The activation error remained, however. Please note that I have wp_debug enabled (working on a dev site).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug report: Plugin activation throws error and can’t add library’ is closed to new replies.