• Since the update to version 4.10.0 I get the following message when activating other plugins while relevanssi plugin is activated:

    “The plugin produced x characters with unexpected output during activation.”

    When activating the other plugin while relevanssi plugin is deactivated no message is produced.

    I tracked down the issue and isolated the root cause. This happens when a post is created during activation of the other plugin (e.g. Contact Form 7 creates a default form). In this case the function relevanssi_rankmath_noindex in file rankmath.php gets called and issues the following warning:

    “in_array() expects parameter 2 to be array, string given”

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Thanks! Line 28 in lib/rankmath.php is

    if ( in_array( 'noindex', $noindex, true ) ) {

    but it should be:

    if ( is_array( $noindex ) && in_array( 'noindex', $noindex, true ) ) {

    I’ll fix this in the next version.

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with version 4.10.0’ is closed to new replies.