c# – SQLite One or more errors occurred. (near “?”: syntax error)

Hola amigo estoy trantado de hacer un query asi, pero me sale este error.

One or more errors occurred. (near “?”: syntax error)

este es mi query

      public bool GetPokemonLikeExist(string p)
    {

        var pokes = DBSQLite.Database.Table<PokemonModel>()
                     .Where(c => c.Name.Contains(p, StringComparison.CurrentCultureIgnoreCase))
                     .ToListAsync();

        if (pokes.Result.Count() > 0) { return true; }
        else { return false; }

    }

sql server – SQL Replication Errors: Replication ‘publish’ already been set to true and logreader agent already exists

I’m getting this error when trying to create replication:

The replication option ‘publish’ of database ‘servername’ has already
been set to true. (SQLSTATE 01000) (Message 14035) The logreader agent already exists. Use ‘sp_changelogreader_agent’ to
change any settings/properties. (SQLSTATE 42000) (Error 21831). NOTE:
The step was retried the requested number of times (5) without
succeeding. The step failed.

I used the wizard to generate the script, then I use the scripts in job steps. I deleted the existing replicaiton and then reran the job that creates both the snapshot and the transaction replication and it gives me the same error.

I’m not sure if you need any more information, if so, just let me know. Currently, I’m not sure what else to look into?

Thanks for your help.

backup – How to log errors when using adb pull?

I am using the latest version of adb with the pull command to backup my data.

Sometimes adb pull doesn’t backup all of my files, so I am trying to figure out which files have not been backed up.

Using adb logcat -f logcat.txt bugreport pull "my path" "my path 2" just throws me a create bugreport fail! and create bugreports dir error!!. I’ve tried multiple directories with full permission but with no luck.

JavaScript and HTML errors in SharePoint

I am new to JavaScript and am trying to resolve some errors. I have researched sites and made some changes, but I still have problems. Any help is appreciated. The goal is to take the selected items from a SharePoint list and click on a button that will open an email with the data from the list. The errors are below:
SCRIPT1002: SCRIPT1002: HTML1423: malformed start tag. Attributes must be separated by spaces. HTML1409: Invalid attribute name character. Attribute names must not contain ("), (& # 39;), (<), or (=). HTML1422: Malformed start tag. A self closing slash should be followed by a U+003E GREATER-THAN SIGN (>). HTML1423: malformed start tag. Attributes must be separated by spaces. Email.aspx (807 105) HTML1409: Invalid attribute name character. Attribute names must not contain ("), (& # 39;), (<) or (=).

1st file ...







JavaScript sendemail.js





 



























2nd file ...


& # 39; & # 39; & # 39;

How to log exception errors in DB Magento 2

How to record exception errors and syntax errors in the database instead of the log file in magento 2?

boot – Can someone help with signal 8 and I/0 errors?

Older IMac, 10.6, accidentally copied giant drive folder to Desktop instead of the external hard drive, in attempt to make space for startup disk full msg. It crashed it. Then from startup white screen, Apple logo, Empty progress bar, DIE, shut down. Attempted safe mode loading spinner indefinitely. PRMC & SMC just die, single user mode but fsck failed, message full startup, MAC Hd un repairable, signal 8 exited. root#. I wanted to try and delete either log reports or duplicate desktop files did man rm, in trying to exit disk0s2 I/0 error. I possibly have a backup on an external drive and I have a old laptop which needs space clearing. Can I use old laptop to turn on and control. Use external drive or flash drive to back up photos and docs. The erase and reinstall? Need the step by step. Thanks

Docker PHP Image / Disable 404 errors on error log

I have a docker image based on the official image php:7.3-apache.

When someone accesses an invalid url like: http://myserver/non-existent-file I get a simple 404 logged on the access.log and nothing is logged on the error.log.. this is perfect.

However if someone accesses the url with an .php extension like this: http://myserver/non-existent-file.php I get the same 404 on access.log ..but on the error.log I get this error:

[Sun May 17 21:30:13.214278 2020] [php7:error] [pid 17] [client
172.26.0.1:59930] script ‘/var/www/html/non-existent-file.php’ not found or unable to stat

I tried messing with the php option error_reporting..but I can’t seem to prevent this log on the error_log when non existent php files are requested.

Does anyone know how to disable this?

Thank you!

Evaluation order and Tables – Errors when using Evaluate@Table

following this question of mine Conditional PlotStyle, I ran into another problem.

I fear it has to do with evaluation orders, as for example described in Table and Evaluation Order, but I am totally unable to understand the subtlety.

Even recreating a minimum working example proved trickie. The following is sufficient to trigger a problem (although not exactly the same I witness, I hope the roots are the same).

A function is defined

  f2(x_, y_) := x^2 - y

and another two, the first using using FindMinimum

 g(y_) := FindMinimum(f2(x, y), x)

 f3(z_, n_) := g(z/n)((1))

Now if I use

  Plot(Table(f3(z, n), {n, 1, 10}), {z, 0, 0.3})

everything runs fine.

Yet, if I do

   Plot(Evaluate@Table(f3(z, n), {n, 1, 10}), {z, 0, 0.3})

I get minimisation errors. In my original case I do get a plot, albeit a wrong one, compared to the correct results I get before using Evaluate.

Thanks

linux – Why do disk errors appear in dmesg output even if fsck has not been executed?

I have an 8TB drive connected via UBS3 and formatted in 3 EXT3 partitions that I use as a backup drive (it is plugged into a SATA cradle).

The disc was attached and mounted for several days without being explicitly written (I saved some data a few days ago).

I happened to take a look at dmesg and spot the following (this is filtered to display only the entries corresponding to the name of the disc, sdg):

(393945.628890) EXT4-fs (sdg2): error count since last fsck: 4
(393945.628894) EXT4-fs (sdg2): initial error at time 1589268773: ext4_validate_block_bitmap:406
(393945.628897) EXT4-fs (sdg2): last error at time 1589336019: ext4_validate_block_bitmap:406
(394076.698059) EXT4-fs (sdg1): error count since last fsck: 103
(394076.698063) EXT4-fs (sdg1): initial error at time 1589216157: ext4_validate_block_bitmap:406
(394076.698066) EXT4-fs (sdg1): last error at time 1589372294: ext4_lookup:1590: inode 186081476

I did not run fsck on this disk because it was partitioned and formatted. Since fsck has not been executed, what finds the errors and to what extent should I be concerned?

When I restarted the system this morning, I checked dmesg again and found (filtered again to only display entries matching sdg)

(  261.721822) sd 9:0:0:0: (sdg) Spinning up disk...
(  274.051062) sd 9:0:0:0: (sdg) 15628053168 512-byte logical blocks: (8.00 TB/7.28 TiB)
(  274.051065) sd 9:0:0:0: (sdg) 4096-byte physical blocks
(  274.051137) sd 9:0:0:0: (sdg) Write Protect is off
(  274.051140) sd 9:0:0:0: (sdg) Mode Sense: 43 00 00 00
(  274.051297) sd 9:0:0:0: (sdg) Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
(  274.051498) sd 9:0:0:0: (sdg) Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
(  274.134309)  sdg: sdg1 sdg2 sdg3
(  274.135296) sd 9:0:0:0: (sdg) Attached SCSI disk
(  274.654835) EXT4-fs (sdg3): mounting ext3 file system using the ext4 subsystem
(  274.696860) EXT4-fs (sdg3): warning: mounting fs with errors, running e2fsck is recommended
(  274.766709) EXT4-fs (sdg1): mounting ext3 file system using the ext4 subsystem
(  274.795109) EXT4-fs (sdg1): warning: mounting fs with errors, running e2fsck is recommended
(  274.825210) EXT4-fs (sdg2): mounting ext3 file system using the ext4 subsystem
(  274.891191) EXT4-fs (sdg2): warning: mounting fs with errors, running e2fsck is recommended
(  275.713323) EXT4-fs (sdg2): mounted filesystem with ordered data mode. Opts: (null)
(  276.460528) EXT4-fs (sdg3): mounted filesystem with ordered data mode. Opts: (null)
(  276.499085) EXT4-fs (sdg1): mounted filesystem with ordered data mode. Opts: (null)
(  578.549827) EXT4-fs (sdg1): error count since last fsck: 103
(  578.549830) EXT4-fs (sdg1): initial error at time 1589216157: ext4_validate_block_bitmap:406
(  578.549832) EXT4-fs (sdg1): last error at time 1589372294: ext4_lookup:1590: inode 186081476
(  578.549836) EXT4-fs (sdg3): error count since last fsck: 47
(  578.549837) EXT4-fs (sdg3): initial error at time 1589268525: htree_dirblock_to_tree:1022: inode 31604737: block 126419458
(  578.549840) EXT4-fs (sdg3): last error at time 1589380312: ext4_lookup:1594: inode 33701921
(  578.549844) EXT4-fs (sdg2): error count since last fsck: 4
(  578.549845) EXT4-fs (sdg2): initial error at time 1589268773: ext4_validate_block_bitmap:406
(  578.549847) EXT4-fs (sdg2): last error at time 1589336019: ext4_validate_block_bitmap:406
(  639.938843) EXT4-fs (sdg1): mounting ext3 file system using the ext4 subsystem
(  640.950738) EXT4-fs (sdg1): mounted filesystem with ordered data mode. Opts: (null)
(  650.900006) EXT4-fs (sdg2): mounting ext3 file system using the ext4 subsystem
(  651.207658) EXT4-fs (sdg2): mounted filesystem with ordered data mode. Opts: (null)
(  658.836040) EXT4-fs (sdg3): mounting ext3 file system using the ext4 subsystem
(  659.084558) EXT4-fs (sdg3): mounted filesystem with ordered data mode. Opts: (null)

The system therefore knows that there are errors and has always mounted the disk without displaying other warnings than the entries in dmesg.

About 30 minutes later, I checked again because I was curious now and found out:

(  955.353027) EXT4-fs (sdg2): error count since last fsck: 3248
(  955.353031) EXT4-fs (sdg2): initial error at time 1589268773: ext4_validate_block_bitmap:406
(  955.353033) EXT4-fs (sdg2): last error at time 1589437923: ext4_map_blocks:604: inode 103686210: block 1947002998
(  955.353039) EXT4-fs (sdg1): error count since last fsck: 103
(  955.353040) EXT4-fs (sdg1): initial error at time 1589216157: ext4_validate_block_bitmap:406
(  955.353042) EXT4-fs (sdg1): last error at time 1589372294: ext4_lookup:1590: inode 186081476
(  956.751484) EXT4-fs error (device sdg2): ext4_map_blocks:604: inode #103686210: block 1947002998: comm updatedb.mlocat: lblock 12 mapped to illegal pblock 1947002998 (length 1)
(  956.767496) EXT4-fs error (device sdg2): ext4_map_blocks:604: inode #103686210: block 1947002998: comm updatedb.mlocat: lblock 12 mapped to illegal pblock 1947002998 (length 1)
(  956.782683) EXT4-fs warning (device sdg2): htree_dirblock_to_tree:994: inode #103686210: lblock 12: comm updatedb.mlocat: error -117 reading directory block

Eeek! The number of errors has increased for sdg2!

Again, I haven't explicitly written to disk all this time.

Before partitioning and formatting the drive with gparted, I used fsck to run a bad block scan (several days) and no errors were found. It is also a new disc. For this reason, I am reasonably convinced that the material is good.

What is happening here? How worried should I be about the integrity of the file systems on this drive? What should be my next steps?

How can I fix php unit version errors?

I am trying to run the drupal_check command on the module
m face this error
I am not able to repair
& # 39; & # 39; & # 39; my_site_name_dir% vendor / bin / drupal-check -ad web / modules / contrib / social_auth_dropbox
Warning: class & # 39; PHPUnit Framework MockObject Matcher InvokedRecorder & # 39; not found in /Users/Documents/sample/my_site_name_dir/web/core/tests/bootstrap.php on line 197
0/11 (░ ° ° C ° C ° Fatal error: Drupal declaration Tests BrowserTestBase :: setUp () must be compatible with PHPUnit Framework TestCase :: setUp (): void in / Users / Documents / sample / my_site_name_dir / web / core / tests / Drupal / Tests / BrowserTestBase.php on line 39 & # 39; & # 39; & # 39; & # 39;