• Resolved BiynDesigns

    (@biyndesigns)


    Looks like a great support plugin! However it generated this error message when activated:
    error/warning/notice: array ( 'type' => 2048, 'message' => 'Static function biyn_config::targets() should not be abstract', 'file' => '/var/www/html/wp-content/plugins/zbiyn-project/includes/classes/biyn_config.php', 'line' => 30, ) | length: 5416

    With this message:

    The plugin generated 5416 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Thanks,

    https://www.ads-software.com/plugins/memoria-ticket-system/

Viewing 7 replies - 1 through 7 (of 7 total)
  • ‘file’ => ‘/var/www/html/wp-content/plugins/zbiyn-project/includes/classes/biyn_config.php’

    maybe a problem in your own code or some conflict between both?
    What if you disable the plugin in “zbiyn-project” and activate the other plugin?

    Hmm… I get an error too:

    The plugin generated 517 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Looks to me that this directory/file creation is the problem:

    if (!file_exists($upload_dir["basedir"]."/sts-ticket/index.htm")) {
            $myfile = fopen($upload_dir["basedir"]."/sts-ticket/index.htm", "w");
            fclose($myfile);
        }

    The plugin is trying to create a file names index.htm in the non-existing directory sts-ticket.

    Strange is that the error doesn’t show up with my test install on localhost and debugging = true

    I hope that helps (at least for my own error message ?? )

    Thread Starter BiynDesigns

    (@biyndesigns)

    I tried deactivating the other plugin, but still have the same error message. Thanks Olaf for trying to help.

    Plugin Author vato

    (@vatanbytyqi)

    Hi,
    The plugin tries to create a folder for all the ticket attachements and in that folder add a file called index.htm so that users don’t have access to all the attachements when visiting the directory. I See that there is a problem if you don’t have a folder called sts-ticket inside your /wp-content/uploads/. To fix your issue before there comes an update of the plugin you can simply try to create a folder named “sts-ticket” inside /wp-content/uploads/.

    Thread Starter BiynDesigns

    (@biyndesigns)

    Thanks for the new update! It seems to have fixed most of the error problem, however as I went to the backend to approve a ticket request, it throughs in a missing argument error message:

    ( ! ) Warning: Missing argument 2 for wp_kses(), called in /var/www/html/wp-content/plugins/memoria-ticket-system/memoria-ticket-system.php on line 413 and defined in /var/www/html/wp-includes/kses.php on line 486

    Appreciate your effort.

    Plugin Author vato

    (@vatanbytyqi)

    Hi,
    I have made an update to fix that issue.
    Please let me know if you find anything else.
    regards
    Vatan

    Thread Starter BiynDesigns

    (@biyndesigns)

    Hi Vatan,
    Your latest update fixed the problem!
    You Rock!!

    Much gratitude,
    -Jerry

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error warning generated when activated’ is closed to new replies.