WordPress.org

Ready to get started?Download WordPress

Forums

Transposh WordPress Translation
[resolved] PHP Warning: (7 posts)

  1. mings
    Member
    Posted 1 year ago #

    Hello and Greetings!

    PHP version 5.4.10
    Just to notify you that lately I was getting -

    PHP Warning: Creating default object from empty value in /home1/mysite/public_html/wp-content/plugins/transposh-translation-filter-for-wordpress/core/parser.php on line 666

    In wp-config.php added
    ini_set( 'display_errors', 0 );

    So the warnings are off now

    Would greatly appreciate if you suggest a better tips to troubleshoot.

    Thanking you!

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the report,

    I only have 5.4.8 and don't see this warning yet, I guess I'll fix it as soon as I encounter it

    Thanks again,

  3. mings
    Member
    Posted 1 year ago #

    Hello Wald,

    Thank you very much,
    OK that is fair enough...no problem.

    with best regards

  4. natostanco
    Member
    Posted 1 year ago #

    5.4.6 get the same error

  5. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Since I was finally able to find it (and fix it in http://trac.transposh.org/changeset/781)

    This only happens when some documents don't have the html tag, which is rather rare, I was able to find it on some other server 301 pages :)

    Thanks for the report and patience

  6. infrcl
    Member
    Posted 1 year ago #

    Hello and congratulations for your great plugin!

    This fix works, but you missed line 706-707

    $this->html->find('language', 0)->innertext = $this->lang;

    that remains logging a warning.

    Thanks again!

  7. latinoleader
    Member
    Posted 1 year ago #

    Greetings:

    I have WordPress 3.5.1 installed on GoDaddy shared-hosting w/PHP v5.3 and have gotten the following error w/Transposh versions 0.9.2 and 0.9.3:

    Warning: session_start() [function.session-start]: open(/var/chroot/home/content/19/7561419/tmp/sess_6f258feb977ad21e183d6a51868d595a, O_RDWR) failed: File too large (27) in /home/content/19/7561419/html/law/wp-content/plugins/transposh-translation-filter-for-wordpress/transposh.php on line 561

    In my php5.ini file, I have the following entries, among others:

    memory_limit = 512M
    post_max_size = 512M
    file_uploads = On
    upload_max_filesize = 512M

    Does anyone have an idea on what's wrong?

    -Pablo

Topic Closed

This topic has been closed to new replies.