• Jenny

    (@enigma666666)


    Hi there,

    The plugin makes duplicate queries. Please advise how to correct this? Here is the info:

    Query:

    SELECT table_name
    FROM information_schema.tables
    WHERE table_schema = 'WEBSITE NAME.COM'
    AND table_name LIKE 'wp_%'

    Count: 2

    Callers:

    acym_loadResultArray()

    Potential Troublemakers:

    acym_loadResultArray()
    1 call
    acym_isTrackingSalesActive()
    1 call


    • This topic was modified 1 year, 4 months ago by Jenny.
    • This topic was modified 1 year, 4 months ago by Jenny.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jenny

    (@enigma666666)

    Query:

    SELECT *
    FROM wp_acym_list
    WHERE type = 'standard'

    Count: 3

    Callers: acym_loadObjectList()

    Potential Troublemakers:

    AcyMailing\Classes\ListClass->getAllForSelect()
    2 calls
    AcyMailing\Classes\ListClass->getAllWithoutManagement()
    1 call

    Thread Starter Jenny

    (@enigma666666)

    Query:

    SELECT *
    FROM wp_acym_field

    Count: 2

    Callers: acym_loadObjectList()

    Potential Troublemakers:

    AcyMailing\Init\acyGutenberg->registerBlock()
    1 call
    AcyMailing\Classes\FormClass->__construct()
    1 call

    Thread Starter Jenny

    (@enigma666666)

    And I also have this PHP error: Deprecatedstr_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated.

    Location:

    wp-content/plugins/acymailing/back/libraries/wordpress/form.php:118acym_renderForm()
    wp-content/plugins/acymailing/widgets/subscriptionform/widget.php:393acym_subscriptionform_widget->widget()

    Component:

    Plugin: acymailing

    Hi,

    Thanks a lot for your feedback.

    We will see what we can do about the duplicate queries, but they are not call on the same file, so it might be better to leave it this way.

    About the deprecated issue, this is not from us, we don’t use the str_contains function as it’s PHP minimum and we are compatible with PHP 7.4.
    Line 118 calls the apply_filters WordPress filter so it can be any other plugin.

    Rémi.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Duplicate Queries’ is closed to new replies.