• Resolved twisted1919

    (@twisted1919)


    Hello,

    Here’s the error message we get after installing the plugin for one of our customer sites:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function DLM_Custom_Columns::prepend_id_to_title(), 1 passed in /var/www/vhosts/domain/httpdocs/web/wp-includes/class-wp-hook.php on line 307 and exactly 2 expected in /var/www/vhosts/domain/httpdocs/web/wp-content/plugins/download-monitor/src/Admin/CustomColumns.php:179

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @twisted1919 ,

    The error comes from the fact that another plugin or you theme doesn’t use the correct form of the the_title core filter ( documentation here ) or the WordPress version of the website is very very old, as a user specified in the comments, there was an inconsistency that was introduced in version 3.1 and fixed in version 3.3. Most probably your theme is the one that doesn’t apply the filter correctly.

    Hope this helps.

    Warmly,
    Razvan

    Thread Starter twisted1919

    (@twisted1919)

    @raldea89 – Thanks, that was the case, the the_title filter was called wrongly from the theme, missing the id param.

    All fixed now ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Another Critical Error’ is closed to new replies.