• Resolved Wan-rong Jih

    (@wan-rong-jih)


    I’ve tried to specify the CSL file in the shortcode, but not working. All the .csl files in the folder MyWebSiteHome/plugins/mendeleyplugin/style has been tried, and got the following warnings & errors:

    <blockquote>
    Warning: strlen() expects parameter 1 to be string, array given in /MyWebSiteHome/plugins/mendeleyplugin/wp-mendeley.php on line 360
    Mendeley Plugin Error: 200
    </blockquote>

    Here is <a href="https://copy.com/9Ej7h704TBAk"> my Mendeley library (.bib)</a>. The document types include Conference Proceedings, Journal Article, and Book Section.

    https://wordpress.org/plugins/mendeleyplugin/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author kochm

    (@kochm)

    The plugin error “200”-Problem should be solved in new V0.9.1.

    Thread Starter Wan-rong Jih

    (@wan-rong-jih)

    Thank you for your prompt help.

    The V0.9.1 can show most of the style files, but all of them will show warning messages for all my Mendeley documents.

    Warning: strlen() expects parameter 1 to be string, array given in /home/wrjih/wanrongjih.org/wp/wp-content/plugins/mendeleyplugin/wp-mendeley.php on line 360

    BTW, the style mhra_note_without_bibliography.csl shows nothing.

    Thread Starter Wan-rong Jih

    (@wan-rong-jih)

    After several tries, warning messages may not always show… (It’s a bit confusing to me)

    Another question is the all my conference proceeding’s name will show twice.

    Plugin Author kochm

    (@kochm)

    The warning message should no longer appear now (v0.9.2). About the double showing of the conference proceedings names: I think I found and solved the problem (in v0.9.2) – could you please recheck?

    Thread Starter Wan-rong Jih

    (@wan-rong-jih)

    Many thanks for the new v0.9.2.

    The conference proceedings display is normal now. 🙂
    But lots of the .csl will receive the following warning messages:

    Warning: explode() expects parameter 2 to be string, array given in myWebsite/mendeleyplugin/wp-mendeley.php on line 364

    Warning: Invalid argument supplied for foreach() in myWebsite/mendeleyplugin/wp-mendeley.php on line 365

    The above messages will disappear after the second runs (i.e. refresh the browser). Are the messages caused by the 2-phase process?

    There is a minor suggestion for the line spacing. For the shortcode groupby=”year” sortby=”year”, the line-space-above of year could be increased…

    Thank you for your prompt help 🙂

    Plugin Author kochm

    (@kochm)

    I still cannot reproduce the warnings – but I think I was able to solve the problem by additional error handling code (in v0.9.3)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘shortcode CSL not working’ is closed to new replies.