Title: Link Library on the localhost
Last modified: July 13, 2018

---

# Link Library on the localhost

 *  [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/)
 * Under the Vertrigo WAMP.
    Since installatio the 6 … version of the link Library,
   a blank page with such message is displayed: Not Found The requested URL /darz-
   bor.info/katalog-przyrodniczych-stron-www/ was not found on this server.
 * Pressing the [Re-import liks] button makes the php displaying this:
 * ( ! ) Warning: Invalid argument supplied for foreach() in C:\Users\user name\
   Documents\My Web Sites\darz-bor.info\wp-content\plugins\yet-another-stars-rating\
   freemius\includes\managers\class-fs-admin-menu-manager.php on line 513
    ( ! )
   Warning: Cannot modify header information – headers already sent by (output started
   at C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-content\plugins\
   yet-another-stars-rating\freemius\includes\managers\class-fs-admin-menu-manager.
   php:513) in C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\
   includes\misc.php on line 1124 ( ! ) Warning: Cannot modify header information–
   headers already sent by (output started at C:\Users\user name\Documents\My Web
   Sites\darz-bor.info\wp-content\plugins\yet-another-stars-rating\freemius\includes\
   managers\class-fs-admin-menu-manager.php:513) in C:\Users\user name\Documents\
   My Web Sites\darz-bor.info\wp-includes\pluggable.php on line 1219
 * Full tect of these messages is here:
    [http://darz-bor.info/pliki/temp/localhost.htm](http://darz-bor.info/pliki/temp/localhost.htm)
 * It is worth to note, that paths beginning wit c:// are used instead of [http://localhost/](http://localhost/).
 * Versions 5 … were working on localhost.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/link-library-on-the-localhost/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/link-library-on-the-localhost/page/2/?output_format=md)

 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10490849)
 * Localhost is not very important, but this behavior is incorrect.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491707)
 * All of the messages that you are showing here are related to a different plugin.
   First obvious question, if you deactivate Link Library and try to save options
   in another plugin, do you still get these warnings? They might just not appear
   on-screen, but might still happen. A better way to check warnings is to activate
   the WP_DEBUG_LOG option in your wp-config.php file. Then, a file called debug.
   log will be created in your site’s wp-content folder. When this is in place, 
   deactivate Link Library, and save another plugin’s settings, seeing if new entries
   still appear in the log.
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491823)
 * Oh my, Yet another Star Rating interferes again with Link Library configuration.
   But theoretically it should be absent in configuration forms of the Link Library.
   
   But the [Re-import liks] button works in the internet (not the localhost). So
   this is something new.
 * Options in other plugins seem to work well, and most of options in the Link Library.
   Except “Global Configuration” / “Library Configurations”.
 * I changed
    `define('WP_DEBUG', false);` from false to true in the localhost, 
   but the debug.log did not appear. Thre is only such file in the link-library 
   category, containing something not important probably:
 *     ```
       [SOCIAL - 2013-01-17 03:00:41 - 173.179.80.106] Checking system CRON
       [SOCIAL - 2013-01-17 03:00:42 - 173.179.80.106] Running request: Settings/action_index
       ```
   
 * However such new information is displayed above
    `( ! ) Warning: Invalid argument
   supplied ...` after pressing the [Re-import liks] button:
 *     ```
       Błąd bazy danych WordPressa: [Unknown column 'le.link_addl_rel' in 'field list']
       SELECT distinct l.link_id as import_link_id, l.link_name, l.link_url, l.link_rss, l.link_description, l.link_notes, GROUP_CONCAT( t.name ) as cat_name, l.link_visible, le.link_second_url, le.link_telephone, le.link_email, le.link_reciprocal, l.link_image, le.link_textfield, le.link_no_follow, l.link_rating, l.link_target, l.link_updated, le.link_visits, le.link_submitter, le.link_submitter_name, le.link_submitter_email, le.link_addl_rel, le.link_featured, le.link_manual_updated, l.link_owner
       FROM wp_terms t LEFT JOIN wp_term_taxonomy tt ON (t.term_id = tt.term_id) LEFT JOIN wp_term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) LEFT JOIN wp_links l ON (tr.object_id = l.link_id) LEFT JOIN wp_links_extrainfo le ON (l.link_id = le.link_id)
       WHERE tt.taxonomy = 'link_category' GROUP BY l.link_id
       ```
   
 * During changing options on localhost
    `( ! ) Warning: Invalid argument supplied...`
   messages are displayed.
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491840)
 * The debug.log did not appear in the internet (not localhost) wp-content folder
   either. During changing Link Library options what causes:
    `Warning: Invalid 
   argument supplied for foreach() ...` So I reverted define(‘WP_DEBUG’, false);`
   to true.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491856)
 * The variable name is WP_DEBUG_LOG. It is not in your config file by default. 
   You need to add a new line for it.
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491873)
 * But how this line containg WP_DEBUG_LOG looks like and where exactly should be
   inserted ?
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491887)
 * `define('WP_DEBUG_LOG', true);`
 * put it just under the line:
 * `define('WP_DEBUG', true);`
 * Both need to be set to true for the log file to be created. If you want to get
   a log file, but not see warnings on the site, you can define 3 variables:
 *     ```
       define('WP_DEBUG', true);
       define('WP_DEBUG_DISPLAY', false);
       define('WP_DEBUG_LOG', true);
       ```
   
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491890)
 * Something wants `link_addl_rel` field not existing in the `links_extrainfo` table:
   `[
   Unknown column 'le.link_addl_rel' in 'field list']` And why it wants in case 
   of version 6 ? Maybe this field is needed for conversion but cant be created 
   for some reason ?
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491928)
 * Yes, the debug.log appeared after pressing the [Re-import liks] button:
 *     ```
       [13-Jul-2018 17:02:52 UTC] Błąd Unknown column 'le.link_addl_rel' in 'field list' bazy danych WordPressa podczas wykonywania zapytania SELECT distinct l.link_id as import_link_id, l.link_name, l.link_url, l.link_rss, l.link_description, l.link_notes, GROUP_CONCAT( t.name ) as cat_name, l.link_visible, le.link_second_url, le.link_telephone, le.link_email, le.link_reciprocal, l.link_image, le.link_textfield, le.link_no_follow, l.link_rating, l.link_target, l.link_updated, le.link_visits, le.link_submitter, le.link_submitter_name, le.link_submitter_email, le.link_addl_rel, le.link_featured, le.link_manual_updated, l.link_owner FROM wp_terms t LEFT JOIN wp_term_taxonomy tt ON (t.term_id = tt.term_id) LEFT JOIN wp_term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) LEFT JOIN wp_links l ON (tr.object_id = l.link_id) LEFT JOIN wp_links_extrainfo le ON (l.link_id = le.link_id) WHERE tt.taxonomy = 'link_category' GROUP BY l.link_id  wysłanego przez require_once('C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-load.php'), require_once('C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-config.php'), require_once('C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, link_library_plugin->ll_update_60, link_library_60_update
   
       [13-Jul-2018 17:02:52 UTC] PHP Warning:  Invalid argument supplied for foreach() in C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-content\plugins\yet-another-stars-rating\freemius\includes\managers\class-fs-admin-menu-manager.php on line 513
   
       [13-Jul-2018 17:02:52 UTC] PHP Stack trace:
   
       [13-Jul-2018 17:02:52 UTC] PHP   1. {main}() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\admin-post.php:0
   
       [13-Jul-2018 17:02:52 UTC] PHP   2. do_action() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\admin-post.php:29
   
       [13-Jul-2018 17:02:52 UTC] PHP   3. WP_Hook->do_action() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\plugin.php:453
   
       [13-Jul-2018 17:02:52 UTC] PHP   4. WP_Hook->apply_filters() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:310
   
       [13-Jul-2018 17:02:52 UTC] PHP   5. call_user_func_array:{C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286}() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286
   
       [13-Jul-2018 17:02:52 UTC] PHP   6. Freemius->_add_trial_notice() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286
   
       [13-Jul-2018 17:02:52 UTC] PHP   7. FS_Admin_Menu_Manager->add_counter_to_menu_item() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-content\plugins\yet-another-stars-rating\freemius\includes\class-freemius.php:18673
   
       [13-Jul-2018 17:02:52 UTC] PHP   8. FS_Admin_Menu_Manager->find_top_level_menu() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-content\plugins\yet-another-stars-rating\freemius\includes\managers\class-fs-admin-menu-manager.php:735
   
       [13-Jul-2018 17:02:52 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-content\plugins\yet-another-stars-rating\freemius\includes\managers\class-fs-admin-menu-manager.php:513) in C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\includes\misc.php on line 1124
   
       [13-Jul-2018 17:02:52 UTC] PHP Stack trace:
   
       [13-Jul-2018 17:02:52 UTC] PHP   1. {main}() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\admin-post.php:0
   
       [13-Jul-2018 17:02:52 UTC] PHP   2. do_action() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\admin-post.php:29
   
       [13-Jul-2018 17:02:52 UTC] PHP   3. WP_Hook->do_action() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\plugin.php:453
   
       [13-Jul-2018 17:02:52 UTC] PHP   4. WP_Hook->apply_filters() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:310
   
       [13-Jul-2018 17:02:52 UTC] PHP   5. call_user_func_array:{C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286}() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286
   
       [13-Jul-2018 17:02:52 UTC] PHP   6. wp_admin_headers() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286
   
       [13-Jul-2018 17:02:52 UTC] PHP   7. header() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\includes\misc.php:1124
   
       [13-Jul-2018 17:02:52 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-content\plugins\yet-another-stars-rating\freemius\includes\managers\class-fs-admin-menu-manager.php:513) in C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\pluggable.php on line 1219
   
       [13-Jul-2018 17:02:52 UTC] PHP Stack trace:
   
       [13-Jul-2018 17:02:52 UTC] PHP   1. {main}() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\admin-post.php:0
   
       [13-Jul-2018 17:02:52 UTC] PHP   2. do_action() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-admin\admin-post.php:69
   
       [13-Jul-2018 17:02:52 UTC] PHP   3. WP_Hook->do_action() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\plugin.php:453
   
       [13-Jul-2018 17:02:52 UTC] PHP   4. WP_Hook->apply_filters() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:310
   
       [13-Jul-2018 17:02:52 UTC] PHP   5. call_user_func_array:{C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286}() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286
   
       [13-Jul-2018 17:02:52 UTC] PHP   6. link_library_plugin_admin->on_save_changes_general() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\class-wp-hook.php:286
   
       [13-Jul-2018 17:02:52 UTC] PHP   7. wp_redirect() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-content\plugins\link-library\link-library-admin.php:1932
   
       [13-Jul-2018 17:02:52 UTC] PHP   8. header() C:\Users\user name\Documents\My Web Sites\darz-bor.info\wp-includes\pluggable.php:1219
       ```
   
    -  This reply was modified 7 years, 10 months ago by [darekk2](https://wordpress.org/support/users/darekk2/).
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491947)
 * During configuration changing in the internet (not localhost), debug.log did 
   not appear.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491980)
 * Can you try replacing your link-library-update-60.php file with the following
   version?
 * [https://gist.githubusercontent.com/ylefebvre/3d6e0552324c039c6279f6d1cb834103/raw/8ffc7ff57386e23e9cd95e35ad959422fff24df7/link-library-update-60.php](https://gist.githubusercontent.com/ylefebvre/3d6e0552324c039c6279f6d1cb834103/raw/8ffc7ff57386e23e9cd95e35ad959422fff24df7/link-library-update-60.php)
 * I think this will get rid of the error on re-import.
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491993)
 * This line disappeared:
    `Unknown column 'le.link_addl_rel'` but all other errors
   in webbowser (`( ! ) Warning: Invalid argument supplied ...`) and lines in debug.
   log remain.
    -  This reply was modified 7 years, 10 months ago by [darekk2](https://wordpress.org/support/users/darekk2/).
    -  This reply was modified 7 years, 10 months ago by [darekk2](https://wordpress.org/support/users/darekk2/).
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10491996)
 * Ok, now the thing to check is if you deactivate link library, do you still see
   lines in the debug.log file about these warnings? If so, then it’s not related
   to link library.
 *  Thread Starter [darekk2](https://wordpress.org/support/users/darekk2/)
 * (@darekk2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10492015)
 * When the Link Library is deactivated, it disappears and the [Re-import liks] 
   button can’t be pressed, because there is no such button.
 * But I deactiveted the Yet Another Star Rating. Pressing the [Re-import liks] 
   button (or options change) does not trigger those error messages. However links
   are not imported still.
 * And the message `The requested URL ... was not found on this server.` is displayed
   still instead of the link library.
 * (everything verified on the localhost)
    -  This reply was modified 7 years, 10 months ago by [darekk2](https://wordpress.org/support/users/darekk2/).
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/#post-10492032)
 * Two things:
 * – I know that re-import links is not there when you deactivate Link Library. 
   But if you save another plugin’s settings and check the logs, does YASR still
   produce these warnings in the log file.
 * – For the re-import not working through, it looks like you might not have been
   running the most recent version of Link Library 5.9 before updating to 6.0, since
   the error message talks about a column I had added recently. Remove the 6.0 version
   and install the last version of 5.9 ([https://downloads.wordpress.org/plugin/link-library.LinkLibrary_5.9.15.8.zip](https://downloads.wordpress.org/plugin/link-library.LinkLibrary_5.9.15.8.zip)).
   Then, deactivate and reactivate that version to make sure that your tables are
   up-to-date. Then, go back to latest 6.0 version and try re-import.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/link-library-on-the-localhost/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/link-library-on-the-localhost/page/2/?output_format=md)

The topic ‘Link Library on the localhost’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 19 replies
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/link-library-on-the-localhost/page/2/#post-10495449)
 * Status: not resolved