• Resolved lynsey

    (@lynsey)


    V:1.1.4 crashes the whole site ??

    Fatal error: Can’t use function return value in write context in /home/…/wp-content/themes/sosimple/functions.php on line 179

    line 179: if( empty( get_option( ‘my-acf-notice-dismissed’ ) ) ) {
    line 180: add_action( ‘admin_notices’, ‘donation_notice’ );
    line 181: }

    Advice please.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author fervillz

    (@fervillz)

    replace the entire line to this

    add_action( ‘admin_notices’, ‘donation_notice’ );

    Thread Starter lynsey

    (@lynsey)

    Thank you – just as a clarification, do you mean replace all three lines with

    add_action( ‘admin_notices’, ‘donation_notice’ );

    Theme Author fervillz

    (@fervillz)

    yes

    @lynsey

    Hi 7 years ago you made about ecards. I have just downloaded that plug in and can’t get it to work… ??

    Do you still have it? And is it working fine?
    tthx
    [ Signature moderated ]

    Thread Starter lynsey

    (@lynsey)

    @fervillz – thank you. Beautiful theme, by the way.

    @kimbert – I don’t think I ever got it to go – sorry. A great idea for someone to pick up and perfect, but beyond my skills.

    omg ! I have been working on this project for over 2 months and cannot get any help either !!!

    thanks for your reply!

    cheers!
    Kimbert

    O by the way, you seem to be a bit of a buff, it says in the documentation this ;
    Adding eCards to a post or a page is accomplished by uploading one or more images for [ecard]?shortcode. Images should be uploaded directly to the post or page, not from the Media Library. Inserting the images is not necessary, as the plugin creates the eCard automatically.

    do you know how to upload images without going thru the media uploader?

    thanks again
    Kimbert

    I’m getting the same fatal error on line 179, I’m just learning about how to change things via cpanel and not through wordpress admin. Where do I make the updates you have suggested above to fix my crashed site?

    I appreciate your help!

    Theme Author fervillz

    (@fervillz)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Version: 1.1.4 contains fatal error in functions.php’ is closed to new replies.