• Resolved Rakrsh

    (@rakrsh)


    Deprecated: Return type of JDate::format($format, $local = false, $translate = true) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/desigmii/public_html/ogbabiesde/wordpress/wp-content/plugins/vikrentitems/libraries/adapter/date/date.php on line 181

    Deprecated: Return type of JDate::setTimezone($tz) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home1/desigmii/public_html/ogbabiesde/wordpress/wp-content/plugins/vikrentitems/libraries/adapter/date/date.php on line 126

    unable to create shortcode to display in ont end

Viewing 1 replies (of 1 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello,

    Thanks for the detailed message. Return-type information was added to our internal libraries to comply with any PHP 8.x future version and still be able to support older PHP versions.

    The messages you are seeing are just Notice messages, those are not critical errors, and they are probably being displayed because your error reporting level is for development, hence too high for a production website.
    However, those notice messages may be breaking AJAX responses, by making you unable to create specific Shortcodes with particular settings. For this reason, you should turn off the WordPress debug mode and lower your error reporting level on your PHP installation so that only errors will be displayed, and also warnings at most, but not PHP messages of type Notice.

    Our programmers will release an update for our internal libraries as soon as PHP 8.2 will be released. For now, using any earlier PHP 8.x version is not recommended, as the 8.2 will be the first long-term support release of the 8 series.

    For the moment we suggest ignoring those Notice messages, and you should actually turn them off or they may affect certain functions.

    The VikWP Team

Viewing 1 replies (of 1 total)
  • The topic ‘Unable to add shortcode’ is closed to new replies.