• Resolved DrKassoff

    (@drkassoff)


    When upgrading to 4.4, using last version of DG crapped out entire site and gave fatal error. ( https://www.QCPA.org )

    Fatal error: Call to a member function isSuccess() on array in /home3/custodyc/public_html/qcpa/wp-content/plugins/document-gallery/inc/class-setup.php on line 412

    Tech deactivcated. I updated DG and it will not activate. If i try to activate I get:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Call to a member function isSuccess() on a non-object in /home3/custodyc/public_html/qcpa/wp-content/plugins/document-gallery/inc/class-setup.php on line 412.

    I cannot even delete DG. It gives a server 500 error msg when I try to delete all files button

    https://www.ads-software.com/plugins/document-gallery/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi DrKassoff,

    Firstly, I sincerely apologize for the inconvenience. This release was not up to our standards and I have rolled back the stable release to 4.0 until we have a chance to resolve he issues you and others are reporting.

    To address your immediate concern, my recommendation is to have your tech delete the document-gallery directory under wp-content. That should be all that is needed. Then you can do a re-install of document-gallery 4.0.

    Please let me know if you run into any further issues.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi DrKassoff,

    We’ve now put out version 4.1.3 which should be a much more stable product. That said, if anything seems out of place please don’t hesitate to followup here and I can take a look. Thanks for your patience while we got this issue resolved.

    -Dan

    Yeah, I’m getting a fatal error as well. Got a 500 earlier (12/21/2015 11:00) and disabled all the plugins – it was DG.

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Jaredam,

    I am sorry for the inconvenience. Let me help you get things working again.

    Can you confirm that the error is the same as what DrCassoff is reporting? Also, have you tried uninstalling and doing a clean install?

    EDIT: To clarify, uninstalling DG, not all of WordPress, then cleanly installing DG 4.1.4.

    -Dan

    Same problem, can’t activate, and can’t delete…

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Pierre (and others),

    I have a solution that may allow you to get past the issue long enough to uninstall and do the clean install that is needed for things to begin working.

    1. Go to Dashboard -> Plugins -> Document Gallery (edit link). If there is no edit button, your WP install will not allow this fix.
    2. Assuming you got past #1, click document-gallery/inc/class-setup.php in the right bar.
    3. In the big textbox, search (Ctrl + F) for “self::fourPointOne( $options );” There should be only one line that matches. Delete that line and attempt to activate again. My *hope* is that will get you far enough through the plugin bootstrap to allow for you to uninstall DG, at which point a clean install should make everything much happier.

    If that does not work, the other solution requires FTP access. Assuming you know what that is and have the access, you’ll need to do the following:
    1. Go to <WP install directory>/wp-content/plugins and simply delete document-gallery.
    2. After that you should be able to reinstall Document Gallery.

    -Dan

    Thread Starter DrKassoff

    (@drkassoff)

    I tried the first fix recommended, deleting the directory (using my control panel and the file manager to just delete the directory) and reinstalling with 4.0 using the WP install plugin utility. Everything works fine. I am fearful about doing 4.1.3. If I update to that and it craps out again, can you provide 4.0 again until latest version is stable.

    https://www.qcpa.org/download-documents/

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi DrKassoff,

    I’m glad to hear the downgrade worked! My recommendation at this point is to upgrade to the current version (4.1.5). I have every expectation that it will bypass the issues you had, but if it does not then go ahead and repeat the same downgrade process and let me know so that I can address any additional issues that show up.

    -Dan

    I deleted the folder, but when I try to install the latest build I get

    Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or ‘$’ in /home7/roadruq3/public_html/wp-content/plugins/document-gallery/inc/thumbers/class-abstract-thumber.php on line 26

    Plugin Author Dan Rossiter

    (@danrossiter)

    Can you tell me what version of PHP you have installed?

    php 5.4 I think.

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Jaredam,

    Can you verify that? The error suggests that your version doesn’t support late static binding (a feature being used in 4.1 and later versions of DG). Late static binding has been supported since PHP 5.3 and PHP 5.4 and later is no longer supported.

    Also, for reference, WP recommends PHP 5.6 or higher.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Jaredam,

    Working under the assumption that you do have a PHP version < 5.3, I have a short term and long term recommendation.

    The short term recommendation is to downgrade to DG 4.0, which does not use the new PHP features that are causing these problems. This can be done by first uninstalling the current version, then installing via the upload functionality under Add New Plugins in your WP Dashboard w/ this zip (https://github.com/thenadz/document-gallery/archive/4.0.zip).

    The long term recommendation is to immediately contact your hosting provider and ask that they upgrade to at minimum PHP version 5.6 to be in compliance w/ WP minimum recommendations. (You should include a link to the reference sites I included above.)

    -Dan

    Yup, that did it. Thanks!

    Hi Dan,

    I delete the plugin (FTP), but version 4.1.5 will also not work. When i try to activate…
    Fatal error: Class ‘DG_ThumberCoThumber’ not found …/wp-content/plugins/document-gallery/inc/thumbers/class-thumber-co-thumber.php on line 9

    Thank you for your assistance.

    Pierre
    PS: PHP version 5.5.29

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Cannot activate or delete’ is closed to new replies.