WordPress.org

Forums

[Plugin: Yank Widget] Error after saving a page (3 posts)

  1. myrko
    Member
    Posted 7 years ago #

    When saving a page, with a widget created, i get:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/37/d30670921/htdocs/myrkothum.com/wp-content/plugins/yank-widget/yank-widget.core.class.php on line 7

    http://wordpress.org/extend/plugins/yank-widget/

  2. Jess Planck
    Member
    Posted 7 years ago #

    This is one of those days. I could have sworn that I committed the php4 fixes. Anyway I updated the branch and the tag files, so a new download should be available.

    If necessary just delete the "public" statements from the following files:

    yank-widget.core.class.php
    yank-widget.admin.class.php

    The lines look like:
    public $something;

    d!oi :P

  3. kokoloko
    Member
    Posted 6 years ago #

    WP.2.6
    hello, i think there is a conflict with the backup because i have this message after 10 saving :

    Warning: Invalid argument supplied for foreach() in /homepages/13/d271674066/htdocs/wp/wp-content/plugins/yank-widget/yank-widget.admin.class.php on line 138

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d271674066/htdocs/wp/wp-content/plugins/yank-widget/yank-widget.admin.class.php:138) in /homepages/13/d271674066/htdocs/wp/wp-includes/pluggable.php on line 770

    thanks for your precious help

    regards

Topic Closed

This topic has been closed to new replies.

About this Topic