• Resolved alinyweb

    (@alinyweb)


    Hi
    I’ve been using the plugin with no problems for a few years, but all of a sudden (I think until about 3 weeks ago), my site went blank, and it only started working again when I disabled the plugin. On other sites it works normally so I believe it is incompatibility with the theme after some update. I want to go back to using the plugin, does anyone know what might have happened? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey, it works fine on my site and am on the latest WP version.

    You may want to run a bit of debugging.
    WP debug is off by default, so you need to put your site on maintenance mode first then enable WP-debug in your wp-config file. Make sure you have these:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings on the webpage itself so people browsing do not see those errors
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    See what errors are being generated in /wp-config/debug.log and go from there.

    Another alternative is to check your browser console for any errors when you generate the faulty page or post.

    Even another way is to deactivate your theme and plugins except php-everywhere then reactivate one at a time to see which one breaks php_everywhere. Once identified, you address the culprit, maybe needs an update or maybe it runs deprecated functions or similar.

    Good luck.

    • This reply was modified 2 years, 10 months ago by Flankerator.
    • This reply was modified 2 years, 10 months ago by Flankerator.
    • This reply was modified 2 years, 10 months ago by Flankerator.
    • This reply was modified 2 years, 10 months ago by Flankerator.
    • This reply was modified 2 years, 10 months ago by Flankerator.
    • This reply was modified 2 years, 10 months ago by Flankerator.
    Plugin Author Alex

    (@alexander_fuchs)

    Hi alinyweb,

    Flankerator made some great points in his post. That would be the way to investigate the problem.

    Best regards,

    Alex

    Thread Starter alinyweb

    (@alinyweb)

    Thanks for the return.
    The error:
    PHP Warning: include(conecta.php): failed to open stream: No such file or directory in /wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code on line 3
    PHP Warning: include(conecta.php): failed to open stream: No such file or directory in /wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code on line 3
    PHP Warning: include(): Failed opening ‘conecta.php’ for inclusion (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code on line 3
    PHP Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code on line 4
    PHP Warning: mysqli_error() expects parameter 1 to be mysqli, null given in /wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code on line 4

    Thread Starter alinyweb

    (@alinyweb)

    I saw the error, the database connection file that I included, in the plugin update was lost. Thanks for the attention.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php everywhere is not working with photoway theme’ is closed to new replies.