Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter clinton101

    (@clinton101)

    Thanks @roumi for the excellent support.

    Thread Starter clinton101

    (@clinton101)

    Hi @roumi,

    Thank you for your quick response, and for your heads up on where to look.
    This approach identified errors in my code. They are ‘soft’ (no doubt bad coding) errors like not checking if an array element exists before using it. The reason that the error started is due to your code enforcing more rigorous error checking.

    Line 15 of your index.php file does this because of the code
    error_reporting(E_ALL);
    If I comment this out then my code works fine with your plugin on.

    This problem has forced me to review my code, which I am doing. However, I think that reporting all errors may have an impact on other plugins. I received an error on a client website today where the PHP started reporting an error in the ‘Wp Limits’ plugin. As ‘WP Admin Notification Center’ was on the site, I swiched it off to check and the error went away. The error in this case was as follows:

    `Notice: Undefined variable: time_limit in /var/www/vhosts/****/clientsite.com/wp-content/plugins/wp-limits/change-wp-limits.php on line 129

    This confirms the impact of the rigorous error checking that is carrying through to other plugins.

    I hope that this helps as there may be other sites that are getting errors for similar reasons. Please consider removing error_reporting(E_ALL); from the live copy of your plugin.

    Once again thank you for the great plugin, I use it on many sites.

    Clinton

    • This reply was modified 2 years, 6 months ago by clinton101.
    • This reply was modified 2 years, 6 months ago by clinton101.
    • This reply was modified 2 years, 6 months ago by clinton101.

    Hi – great looking plugin, but I also have the same problem of not being able to see the icons (buttons work fine). I have tried Chrome and Firefox and I get blank icons, IE yields very large icons. The problem looks like icons.svg.

    I hope that there is a solution to this because the plugin looks ideal.

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