• Resolved nyssamccanmore

    (@nyssamccanmore)


    I’ve been getting a PHP error which I think is related to Link Library’s latest update:

    PHP Notice: Array to string conversion in /home/[redacted]/wp-includes/functions.php on line 110

    The page I need help with: [log in to see the link]

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

    (@jackdewey)

    The first thing I would suggest is to make sure that it comes from Link Library. Have you tried quickly deactivating the plugin to see if the problem still happens, then reactivating it?

    If it does come from Link Library, I will need more information than this to be able to identify and fix this issue.

    The best way to see where the problem is coming from is to activate the WordPress debug log. This is done by editing your site wp-config.php file and locating the line for WP_DEBUG.

    define( ‘WP_DEBUG’, false );

    By default, this line is usually set to false. You should make it true, but also add two lines so that debug messages only appear in the debug.log:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    define( ‘WP_DEBUG_LOG’, true );

    This will create a file called debug.log in your site’s wp-content folder. Look in that file and send me the messages that it contains. If you already had a debug.log file before and it is quite large, you can just delete it to get a fresh start, then do what is needed to get the PHP notice to appear again.

    I develop my plugins on an installation with all warnings turned on and did not see this notice, but it might be related to how you have Link Library configured.

    Thread Starter nyssamccanmore

    (@nyssamccanmore)

    On further investigation I don’t think it’s the plugin after all. Not that I’ve figured out what it is, though. ??

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Thanks for letting me know and setting the issue as resolved. Please consider donating to support this plugin’s development.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Error’ is closed to new replies.