• Resolved Thaerin

    (@thaerin)


    Hi Frank,

    Hopefully I’m not posting a question that’s already been answered; I couldn’t find anything in my search!

    I’m getting the following error, displayed through “Query Monitor”, that’s a bit beyond my understanding. Would this even cause any tangible issues (things seem to be working fine)?

    I’ve tried to eliminate all other minifying processes to avoid conflicts, but the message remains – any idea where I should be investigating?

    Constant CONCATENATE_SCRIPTS already defined

    Count: 1

    wp-content/plugins/autoptimize/autoptimize.php:181

    define()
    autoptimize_start_buffering()
    do_action(‘template_redirect’)

    Plugin: autoptimize

    Thank you!

    https://wordpress.org/plugins/autoptimize/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    hi thaerin;
    CONCATENATE_SCRIPTS (and COMPRESS_SCRIPTS) are defined in wp-content/plugins/autoptimize/autoptimize.php on line 181 and 182, but that’s a leftover for yonder days I’m afraid.

    feel free to comment out those lines, it shouldn’t change AO’s behavior at all. I’ll mark this as something for the next release as well (unless if it breaks your site badly, but that won’t happen 😉 )

    have a nice weekend,
    frank

    Thread Starter Thaerin

    (@thaerin)

    Awesome, thank you so much! I figured it was nothing critical since I didn’t notice anything break, haha.

    I’ve had pretty superior results since switching to AO – thanks again for your great work here!

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

The topic ‘PHP Error: Constant CONCATENATE_SCRIPTS already defined’ is closed to new replies.