Created
April 19, 2019 21:22
-
-
Save justinoboyle/f2ee166408bd08ab5b1fb38966d90c0e to your computer and use it in GitHub Desktop.
PHP error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✘ ~ php php7cc.phar /run/user/1000/gvfs/REDACTED/wp-content/themes/AttorneyTheme/ | |
File: /run/user/1000/gvfs/REDACTED/wp-content/themes/AttorneyTheme/inc/blog-functions.php | |
> Line 248: Possible internal array pointer access/modification in a by-value foreach loop | |
current($attachment_ids); | |
File: /run/user/1000/gvfs/REDACTED/wp-content/themes/AttorneyTheme/vendor/import/offline/attorney-importer.php | |
> Line 19: Removed function "mysql_connect" called | |
mysql_connect($host, $uname, $dbpass); | |
> Line 20: Removed function "mysql_select_db" called | |
mysql_select_db($dbname, $connection); | |
> Line 32: Removed function "mysql_close" called | |
\mysql_close($connection); | |
> Line 67: Removed function "mysql_query" called | |
\mysql_query(str_replace('{{attorney_}}', $prefix, $line), $connection); | |
> Line 70: Removed function "mysql_error" called | |
\mysql_error(); | |
> Line 104: Removed function "mysql_close" called | |
\mysql_close($connection); | |
> Line 127: Removed function "mysql_query" called | |
\mysql_query('DESCRIBE ' . $table, $connection); | |
> Line 128: Removed function "mysql_fetch_array" called | |
\mysql_fetch_array($fields); | |
> Line 132: Removed function "mysql_query" called | |
\mysql_query('SELECT COUNT(*) FROM ' . $table, $connection); | |
> Line 133: Removed function "mysql_fetch_array" called | |
\mysql_fetch_array($row_count); | |
> Line 147: Removed function "mysql_query" called | |
\mysql_query(sprintf('SELECT * FROM %s LIMIT %d, %d', $table, $start, $end), $connection); | |
> Line 150: Removed function "mysql_error" called | |
\mysql_error(); | |
> Line 152: Removed function "mysql_fetch_array" called | |
\mysql_fetch_array($data); | |
> Line 173: Removed function "mysql_real_escape_string" called | |
\mysql_real_escape_string($edited_data); | |
> Line 178: Removed function "mysql_real_escape_string" called | |
\mysql_real_escape_string($data_to_fix); | |
> Line 183: Removed function "mysql_query" called | |
\mysql_query($sql, $connection); | |
> Line 185: Removed function "mysql_error" called | |
\mysql_error(); | |
File: /run/user/1000/gvfs/REDACTED/wp-content/themes/AttorneyTheme/vendor/lib/oneclick-install/wordpress-importer.php | |
> Line 64: PHP 4 constructors are now deprecated | |
function WP_Import() | |
{ | |
} | |
> Line 871: Indirect variable, property or method access | |
${$meta['key']}; | |
Checked 196 files in 124.307 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment