How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Poka Review Plugin support PHP warning front end view

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #18500
    Kristoffer
    Participant

    Hi,

    I’ve installed your plugin ‘Poka Review’ (version 1.1.3) on my site, which runs on the latest version of Generatepress theme with PHP 8.1. It seems to work fine until I try to place the shortcode on a page on my site. The error message I encounter is the following:

    ‘Warning: Undefined array key “order” in /srv/users/xxxx/apps/xxxxx/public/wp-content/plugins/poka-review/public/templates/shortcode-pokareview_tablelistv2.php on line 54’

    How can I solve this?

    #18502
    admin
    Keymaster

    Hi Kristoffer!

    Please make sure to go to your site’s wp-config.php file, and change WP_DEBUG to false.

    Thank you!

    #18503
    Kristoffer
    Participant

    It’s already set to false.

    #18504
    admin
    Keymaster

    Could you confirm that

    define( 'WP_DEBUG_DISPLAY', false );

    is also set to false?

    #18505
    Kristoffer
    Participant

    Not sure what you mean by “also”, this is what it says in the wp-config.php file:

    “if ( ! defined( ‘WP_DEBUG’ ) ) {
    define( ‘WP_DEBUG’, false );
    }”

    Isn’t that the default mode?

    I haven’t changed the wp-config.php file, it has been on ‘false’ the entire time, still receiving the error message as seen in my original post.

    #18506
    Kristoffer
    Participant

    Just to clarify, there is no ‘WP_DEBUG_DISPLAY’ in the file.

    • This reply was modified 1 month, 3 weeks ago by Kristoffer.
    #18508
    Kristoffer
    Participant

    Update: I added the WP_DEBUG_DISPLAY to the wp-config.php file, still seeing the error message, plus this:

    Warning: Undefined variable $data_sort_atts_output in /srv/users/xxxx/apps/xxxx/public/wp-content/plugins/poka-review/public/templates/shortcode-pokareview_tablelistv2.php on line 129

    #18509
    admin
    Keymaster

    Hi again Kristoffer,

    We need access to your site to investigate what’s wrong.

    Feel free to send us credentials (WordPress Dashboard admin username/password and FTP credentials) at support@pokatheme.com and let’s continue the discussion in private.

    Thank you in advance!

    #18510
    Kristoffer
    Participant

    Done, thanks.

    #18514
    admin
    Keymaster

    You’re welcome!

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.