• Resolved zsolt

    (@zsolt82)


    Hello

    I replaced the shotrcode of [adverts_add] to [adverts_add preselect_category=”1″ moderate=”1″] so that before publishing the ad could be approved from the admin but it’s not working.

    Next error code:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ admin_edit_url’ not found or invalid function name in wp-content/plugins/wpadverts/addons/emails/includes/class-emails-parser.php on line 218

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. it looks like your quote characters are converted to UTF-8 characters and WP does not recognize your params.

    Edit the page with [adverts_add] shortcode from wp-admin / Pages panel and:
    – if you are using classic editor, click the “Text” tab, typo your shortcode again from the keyboard (do not copy and paste it) and save the page
    – if you are using Gutenberg remove the block with adverts_add], add a new Shortcode block and type from the keyboard your shortcode with params.

    2. one of the email templates in wp-admin / Classifieds / Options / Emails panel has a white space before function name, for example something like {$advert| admin_edit_ur} instead of {$advert|admin_edit_url}.

    You would need to find this typo and correct it.

    Thread Starter zsolt

    (@zsolt82)

    Hello

    Solution 2 was good thank you

    however, I still found an error that the rejection and authorization emails are not sent

    what can it be

    Thank you

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    i am not sure what error do you mean? Can you post a screenshot or copy and paste the error message?

    Thread Starter zsolt

    (@zsolt82)

    Hello

    No error message. Moderation does not send an info email when the ad is approved or disapproved

    Thread Starter zsolt

    (@zsolt82)

    Sends the email resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP Advert moderator does not work well’ is closed to new replies.