Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • The plugin developer has just been lazy and developed this without error reporting turned on – despite the fact WordPress tell you that plugin developers should always have it turned on.

    Disable error reporting and it becomes useable, however if a man can’t even properly debug his plugins, like hell is he getting any money out of me for a pro version.

    If you’re gonna develop a plugin, at least do it right.

    Thread Starter SudoCat

    (@sudocat)

    Right sorry, the problem was somewhere between the chair and the keyboard; For some reason I thought has_archive inherited the value of public.

    Plugin Author SudoCat

    (@sudocat)

    Hi, I’ve spent the past 2 and a half hours fighting with this myself, and I found that the issue was that the cron job did not have access to some of the wordpress admin functions it needed. To fix this, I added the following to the start of my twitter-posts-to-blog/functions.php

    require_once(dirname(__FILE__).'/../../../wp-load.php');
    require_once(dirname(__FILE__).'/../../../wp-admin/includes/admin.php');

    This enables the plugin to use the functions it needs, seems to be working fine for me.

    Hi, I’ve been having the same problem with mine. I’ve been doing some trawling through trying to figure out where the issue is occuring, and I ended up at the function
    wp_get_attachment_metadata(get_post_thumbnail_id())
    When I run a vardump on that function, I end up with this array:

    array(5) {
      ["width"]=>
      int(800)
      ["height"]=>
      int(1000)
      ["file"]=>
      string(51) "2013/11/Natural-undulating-surface-oak-flooring.jpg"
      ["sizes"]=>
      array(0) {
      }
      ["image_meta"]=>
      array(10) {
        ["aperture"]=>
        float(11)
        ["credit"]=>
        string(0) ""
        ["camera"]=>
        string(20) "Canon EOS 5D Mark II"
        ["caption"]=>
        string(0) ""
        ["created_timestamp"]=>
        int(1383918147)
        ["copyright"]=>
        string(9) "Joe Clark"
        ["focal_length"]=>
        string(2) "45"
        ["iso"]=>
        string(3) "200"
        ["shutter_speed"]=>
        int(0)
        ["title"]=>
        string(0) ""
      }
    }

    Which shows the image sizes metadata array is empty. So apparently the plugin has broken as of late, and is now clearing the sizes metadata from the database, meaning that the image_downsize() is failing.

    Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)