• Resolved awholelotofnothing

    (@awholelotofnothing)


    Please advise what may be the issue? I can’t provide a direct link to the site I’m working on because it’s under maintenance.

    Notice: Undefined variable: spc_output in /home/content/p3pnexwpnas02_data02/49/2189949/html/wp-content/plugins/show-post-categories/includes/category.php on line 90

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author willemso

    (@willemso)

    Hi awholelotofnothing

    Could you say what version you are currently using?
    Also, please post the shortcode causing the issue.

    Thread Starter awholelotofnothing

    (@awholelotofnothing)

    Version 2.2.33

    [show_post_categories show=”category”?parentcategory=”Heat Rating” parent=”no” hyperlink=”yes”]

    Thanks!

    Plugin Author willemso

    (@willemso)

    Hi awholelotofnothing

    could you tell me if your shortcode is entered by using some pagebuilder, or by using the default WP Visual/Text editor?

    In the above code there is a double quote: ” (in unicode that′s U + 201D)
    where it should be ” instead (that′s in Unicode U + 0022 or in ASCII that′s ALT + 34).

    I tried your code in my Dev kit with v2.2.33 and it worked as expected. Try to copy this code instead;[show_post_categories show="category" parentcategory="Heat Rating" parent="no" hyperlink="yes"]

    If this does not work, could you remove SPC completely and install the developers edition? Go to the bottom of this page and select “Development version”, download the zip & Upload it to your plugins. Activate it and try again..

    note; the developers version is untested, but I am sure the category part will work fine.

    Now if still experiencing issues, could you provide me with a screenshot of the linked categories? In that cas I′ll simulate some more using your exact scenario.

    Keep me posted!

    Thread Starter awholelotofnothing

    (@awholelotofnothing)

    I tried deleting then installing the developers version and am still getting the same warning. I also tried using raw HTML as opposed to WYSIWYG Text to add the code. I’m using WP Bakery but I disabled it to enter the code you provided using the default WP Text editor.

    Which linked categories do you need? These are the child categories of the Heat Rating category I sent upthread.

    Thanks!

    Plugin Author willemso

    (@willemso)

    Hi,

    I think it might be some conflict between SPC & WP Bakery since I am unable to simulate it..

    Could you try by only using
    [show_post_categories show="category"]

    If this works, add the attributes one by one just to see if it breaks in a specific situation?

    Also, do you remember if the issue started after upgrading to 2.2.33?

    Thread Starter awholelotofnothing

    (@awholelotofnothing)

    I used the plugin on a development version of the site using WP Bakery several months ago without issue. Maybe the new version of the SPC plugin has some kind of glitch?

    I tried using the shortcode you provided and it gives every category for the post as it should but with the same error.

    Plugin Author willemso

    (@willemso)

    ok, I think I might have a lead.
    Could you once again remove SPC & reinstall the dev version?

    I just updated some coding in the category part that might fix it. So make sure you download the new available developers version ??

    Thread Starter awholelotofnothing

    (@awholelotofnothing)

    It worked! Thanks so much!

    Plugin Author willemso

    (@willemso)

    Great!
    It will be about a week before you’ll see an update notification (2.2.34) that will bring you back to the stable release.

    I hope this also fixes your previous issue. In case there are no more issues I’ll close this topic. Also, if you like using SPC a small review keeps us going ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Undefined variable?’ is closed to new replies.