Support » Plugin: Network Latest Posts » [Plugin: Network Latest Posts] Problem with 3.0, unexpected T_FUNCTION

Viewing 8 replies - 1 through 8 (of 8 total)
  • This happened to me as well. WP 3.4.1; subdirectory type network. Exactly the same error message, line etc..,

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hello guys, I’m going to check this out.

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Ok guys, I think I found why this is happening. Line 1092 uses the add_action syntax for PHP 5.3, I will add support for ancient versions to avoid this behavior. I’m working on it.

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hello guys, this has been fixed. Explaining a little bit this problem, I was using add_action('widgets_init', function(){ }) which is the way used in PHP versions >= 5.3, I modified this for the way it was done before add_action('widgets_init', create_function('', 'my_function')); which provides compatibility for all PHP versions.

    Thanks for your feedback, please test it and let me know if it works as expected so I can mark this topic as resolved.

    Cheers.

    I can confrim that fixed it for me. Works great now. Thanks so much.

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Great news Corey!,

    Thanks for your feedback, have a good day.

    Cheers.

    Thanks Jose, it appears to be working- but I do have a new issue. My theme (Purity) styles nav bars pretty weirdly (tabs and large text and hover effects). I’d rather just have plain text and links, and now I’m trying to de-skin the crap out of the nav bar.

    Is there an easy way to circumvent the .nav stuff so it’s just a straight text list?

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hi skepticblogsnet,

    I imagined that something like this could happen, well I’ve added two new parameters wrapper_list_css and wrapper_block_css, these parameters allows you to override the default classes.

    Please test it and let me know what you think.

    Cheers.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Network Latest Posts] Problem with 3.0, unexpected T_FUNCTION’ is closed to new replies.