• Resolved Hannes Petersen

    (@adapafang)


    I get this Error ehen displaying the Like Plugin on my page;

    Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, int given in SolidPostLikesPublic.php:67

    Can you please have a look at this and provide a fix for this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Hannes Petersen

    (@adapafang)

    And by the way the master switch isn‘t working for me on WordPress 6.0.2 with the Neve Theme. Maybe this would then needed to be fixed as well.

    Thanks

    Plugin Author oacstudio

    (@oacstudio)

    Hi @adapafang,

    > I get this Error ehen displaying the Like Plugin on my page;
    Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, int given in SolidPostLikesPublic.php:67
    Can you please have a look at this and provide a fix for this?

    I will try and reproduce. Otherwise I won’t be able to do much. How do you try to display the likes?

    > And by the way the master switch isn‘t working for me on WordPress 6.0.2 with the Neve Theme.

    Same here. Could you provide a download link for the theme and I ll try and reproduce this as well.

    Kind regards,

    Thread Starter Hannes Petersen

    (@adapafang)

    Hi @oacstudio,

    I did this by just activating the Plugin and set it to Page- and Post-Level in the second Setting inside the Settingspage.

    The Theme seems to be available here: https://themeisle.com/themes/neve/

    A more generic question: Is there a Github-Repo for the Plugin?

    Plugin Author oacstudio

    (@oacstudio)

    Hi @adapafang,

    I was able to reproduce the array_key_exists(). Here is a proposed patch version. Does that remedy the error for you as well?

    Download link: https://a.cl.ly/DOurmeqO

    > The Theme seems to be available here: https://themeisle.com/themes/neve/

    Thanks. I did a quick test with the patched plugin version and it seems to be working ok:
    Screencast: https://a.cl.ly/v1uQLKjD

    Do you still have problems with the masterswitch option while running neve?

    > A more generic question: Is there a Github-Repo for the Plugin?

    Not yet.

    Kind regards,

    Thread Starter Hannes Petersen

    (@adapafang)

    Yes! Thanks that did the trick!

    All working fine and looking good.

    Keep up on the Github-Repo and you could maybe also introduce a real Like Button for this Plugin. With Borders and stuff!

    Plugin Author oacstudio

    (@oacstudio)

    > Yes! Thanks that did the trick!
    All working fine and looking good.

    Nice, thanks for testing. I released version 1.0.4 just now.

    > Keep up on the Github-Repo

    ?.

    > and you could maybe also introduce a real Like Button for this Plugin. With Borders and stuff!

    Good suggestion. I have added this to my feature list.
    Thanks again for reporting this.

    Kind regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error while Showing Likes on Pages’ is closed to new replies.